Raspberry Pi port, piCore-15.0 is available!
#include <iostream>#include <locale>using namespace std;int main(){ locale loc(""); cout << "System locale: " << loc.name() << endl; return 0;}
tc@box:~/Desktop/c++_locale_test/bin/Debug$ locale -aCPOSIXit_ITit_IT.iso88591it_IT.iso885915@euroit_IT@eurotc@box:~/Desktop/c++_locale_test/bin/Debug$ echo $LANGCtc@box:~/Desktop/c++_locale_test/bin/Debug$ ./c\+\+_locale_test System locale: Ctc@box:~/Desktop/c++_locale_test/bin/Debug$ export LANG=it_ITtc@box:~/Desktop/c++_locale_test/bin/Debug$ ./c\+\+_locale_test terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not validAborted