Answer the question
In order to leave comments, you need to log in
How to get the current system localization (C++)?
I would like to get something like Russian_Russia.UTF-8. auto locale = std::setlocale(LC_ALL, "")
returns what I want on Windows but doesn't return on OSX. On OSX, the result of the operation is "C". (classic encoding as I understand it)
How can I cross-platform get the current language of the operating system?
Is there a solution in boost?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question