Re: [osg-users] Unicode support for Windows

2008-10-08 Thread Michael Platings
To: OpenSceneGraph Users Subject: Re: [osg-users] Unicode support for Windows Off the top of my head my first suggestions, perhaps naive, would be to have a osgDB::ifstream and osgDB::ofstream implementations that take std::string (or alternatively) as parameters for the constructors and open() and hide

Re: [osg-users] Unicode support for Windows

2008-10-07 Thread Robert Osfield
Hi Michael et. al, On Tue, Oct 7, 2008 at 6:58 PM, Michael Platings [EMAIL PROTECTED] wrote: My solution: - Add a OSG_USE_UTF8_FILENAMES option to CMake - let the user store all filenames in UTF-8 using osg::ConvertUTF16toUTF8() - where a file is loaded, if OSG_USE_UTF8_FILENAMES is true