hi.
example -

bool BaseTextObject::SetText(std::string Value, bool UTF_Encoding)
{
    if (UTF_Encoding == true)
    {
        osgText::String textstr;
        textstr.set(Value, osgText::String::ENCODING_UTF8);
text->setText(textstr);
    }
    else
    {
        text->setText(Value);
    }
    return true;
}

2012/10/9 michael kapelko <[email protected]>

> Have you tried const char* (string) and UTF-8 instead of wide ones?
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Maxim Gammer
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to