On 1/7/09 11:38 AM, Vincent Bourdier wrote:
My file main.cpp where the string is put is encoded in UTF8 without BOM.

/ string path2 = "Z:/release with space et é où è
)/Data/3d/data/font/arial.ttf";

         if(osgDB::fileExists(path2))
              cout << "PATH2 exist ! : " << path << std::endl;
         else
             cout << "PATH2 NOT exist ! : " << path << std::endl;/

This is not working, but when it will works, I will use a char* instead
of path2 ... does it sounds possible ?

I believe OSG_USE_UTF8_FILENAME is off by default, did you set it in your build?
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to