I may be doing this wrong, because its just showing some wierd letters:
osgText::Text* text1 = new osgText::Text;
osgText::String* string = new osgText::String("لْعَرَبيّة",
osgText::String::ENCODING_UTF8);
std::string test = string->createUTF8EncodedString();
On Wed, 21 Nov 2007 10:50:39 +0100, Robert Osfield
<[EMAIL PROTECTED]> wrote:
> On Nov 21, 2007 9:04 AM, Johan Johnsson <[EMAIL PROTECTED]> wrote:
>> Can the scenegraph represent utf-8 on the screen?
>
> You mean does osgText support UTF-8 encoding of strings? The answer
> is yes, have a look at osgText::String for details.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Mr. Johan Johnsson
AutoSim AS, Strandveien 106, 9006 Tromsø
Visit us at http://www.autosim.no
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org