fanzju / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Unable to use unicode filenames under Windows #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Glog uses std::string to hold log directories and file names and open to
create the log. This means that under Windows, file names using unicode
characters cannot be used. So if I wanted to use the directory c:\ސݝש
 for instance, I'm out of luck since these characters cannot be represented
using ansi-characters. In order to use Unicode for file names/directories
under Windows, the library would need to use the CreateFile(W)()-call.

This severely limits the usage of glog in internationalized scenarios under
Windows.

Original issue reported on code.google.com by ragnar.c...@gmail.com on 9 Feb 2010 at 11:02