-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locale-specific integer formatting doesn't work on iOS #376
Comments
The library doesn't use |
I tried the following code as described in #305
However, the first line always returns |
I see. Since iOS doesn't seem to support locales, I guess you can provide your own imlementation of
|
Thanks @vitaut. This approach seems a bit tricky. Writing a custom function to add separators would be easier for me. However, it would be great if fmt can support iOS out-of-box. |
Hi, I was trying to print pretty integer on iOS. However, it seems
std::setlocale()
is not allowed in iOS (http://stackoverflow.com/questions/32594377/setlocale-works-in-ios-simulator-but-fails-on-device). Is it possible to provide other way to achieve this in iOS? Thanks.The text was updated successfully, but these errors were encountered: