setlocale(LC_ALL, en_US.UTF-8) failing on ipad but working fine on simulator
While converting a char* to wchar*, i am setting the locale as en_US.UTF-8. The setlocale function returns NULL on iPad due to which incorrect string is displayed. I also tried "en_US" locale but the converted wchar string is still incorrect and is same as it was in the case of locale failure. I don't know if i am missing something. Please help.
iPad, iOS 5.0.1