Remember me

Lost Password?

Register now!
Main Menu
H3D.org Feeds

Browsing this Thread:   1 Anonymous Users

UTF-8 characters/symbols in Text nodes?
Quite a regular
Quite a regular

See User information
I have tried to search both forum and documentation to find information but find none if there is possible to UTF-8 encoded strings in Text nodes in H3D?

I have tried it and it did not work at all, either the wrong symbol shows or from Python scripts trying to set the string in the node it gives an error.

The error from Python script:
"File "", line 116, in setValue
ValueError: Invalid argument type to setValue() function"

Is it so that only ASCII strings are used in Text nodes?

Have a nice Friday!

Posted on: 2017/1/13 13:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top

Re: UTF-8 characters/symbols in Text nodes?

See User information
Using latest H3DAPI release?
That one probably does not have it.
Did you try any UTF-8 characters with trunk.
If you don't want to build trunk yourself try the nightly builds from here
I tested this with latest trunk and it worked.
Material emissiveColor="1 1 1"/>
="åäö ¼ ©">
FontStyle size="0.014" justify="MIDDLE"/>

Posted on: 2017/1/13 14:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top

You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]

(C) 2012 SenseGraphics AB    ---    Powered by XOOPS