Read Unicode UTF-8 file into wstring
With C++11 support, you can use std::codecvt_utf8 facet which encapsulates conversion between a UTF-8 encoded byte string and UCS2 or UCS4 character string and which can be used to read and write UTF-8 files, both text and binary. In order to use facet you usually create locale object that encapsulates culture-specific information as a set … Read more