>   std::locale::global(std::locale("japanese")); 

Can you try a slight patch which I think would be better (i.e., not everyone 
uses Japanese) to see if it fixes the problem with Kanji filenames on Windows 
for you?

QString lang = QLocale::languageToString(QLocale::system().language());
std::locale::global(std::locale(lang.toLocal8Bit().constData()));

Unfortunately, I don't have either Windows or a Japanese system to see if this 
works. My guess is that this will solve your problem by getting the system 
locale from Qt.

Thanks and best regards,
-Geoff
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to