[osg-users] Problem with loading 3d-models with asian characters in file name.

2012-08-20 Thread Carsten Scharfe
Hi, I hope somebody can help me out with this nasty problem. I try to load model file (e.g. a collada file) which has some asian characters in its file name. Although I’ve compiled Osg with OSG_USE_UFT8_FILENAME set to true, no model is loaded. osgDB::readNodeFile just returns an empty node as

Re: [osg-users] Problem with loading 3d-models with asian characters in file name.

2012-08-20 Thread Wang Rui
Hi Carsten, The OSG_USE_UFT8_FILENAME option actually doesn't work with Asian directory names, unless your source files are also UTF8. Sometimes I use the setlocale() function at the beginning of an application to choose current machine's locale, like the following: std::locale::global(

Re: [osg-users] Problem with loading 3d-models with asian characters in file name.

2012-08-20 Thread Sergey Polischuk
Hi just guessing: may be it have something to do with current std::locale set? Cheers. 20.08.2012, 16:23, "Carsten Scharfe" cscha...@dspace.de:Hi, I hope somebody can help me out with this nasty problem. I try to load model file (e.g. a collada file) which has some asian characters in its file