Skip to content

cyryllic symbols #1064

@eksponvt

Description

@eksponvt
auto main( ) -> int
{
	setlocale(0, "ru");
	std::cout << nlohmann::json::parse(std::string("{ \"happy\": тест, \"pi\": 3.141 }")) << std::endl;
	Sleep(INT_MAX);
}

if I replace "тест" with English symbols, program doesnt throw an exception

screenshot:
dc782d02-2958-4559-8a59-bb5365342e33

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions