I want to read a file(like .txt) and do std::cout.
but if the file's locale doesn't same with my system's locale, it will print weird.
this is my question. how can I know the file's locale?
if I can get file's locale, I can change system's locale to file's locale and it will print clearly.