I'm not sure about every other platform, but I believe that most use UTF-8 as their default encoding. Maybe other people can answer this definitively? If not, then there needs to be some other platform specific code to do the conversion.
Regarding the function name, convertCurrentCodePageToUTF8 suggests that current code page is being altered (which is possible to do) so it would be more meaningful to say convertStringFromCurrentCodePageToUTF8(). That's a bit lengthy though :P
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
