Hi Rui, Thanks for your reply.
But even when I enabled OSG_USE_UTF8_FILENAME and rebuilt it, it still doesn't work. I double checked the CMake options I used for OSG 2.8.2, and I found OSG_USE_UTF8_FILENAME is not enabled(this is the default value). So I guess this is not a build option issue, but seems a source code bug. Wang Rui wrote: > Hi Mao, > > Making use of unicode characters is also available. Enable the CMake > option OSG_USE_UTF8_FILENAME will do that trick. I believe that you > are using a 2.8.2 version with this option enabled but not on 2.9.x > versions. Please have a look at your CMake configurations. > > Wang Rui > > > 2010/7/27 mao li <>: > > > Hi Rui, > > > > Sorry, I mean OSG 2.8.2 did not has this issue. If client application needs > > to set locale for a specific language, then it could become very hard to > > write language independent application. Say, if I want to make the > > application run on both Chinese and Japanese locale, I have to write two > > separated application? What if the file path contains both Chinese and > > Japanese characters? I am curious why OSG 2.8.2 and previous versions can > > work well without manually set the locale. > > > > ------------------ > > Read this topic online here: > > http://forum.openscenegraph.org/viewtopic.php?p=30316#30316 > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum :( :( ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30333#30333 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org