More specificly, in C++:
#include <locale>
#include <algorithm>
#include <iostream>
#include <string>
int main() {
std::wstring v[3] = {L"홍진호", L"이상민", L"장동민"};
std::locale loc("Korean.949");
std::sort(v, v + 3, loc);
std::wcout.imbue(loc);
std::wcout << v[0] << ' ' << v[1] << ' ' << v[2] << std::endl;
return 0;
}
This doesn't work. I'm using Windows 10 64bit, MinGW, and GNU GCC 4.9.2.
What is the locale name for Korean, for loc?