We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Unicode (Read 407 times)
Unicode
Feb 16th, 2008, 10:04am
 
Can processing display Unicode text?

Can anyone provide a sample code?
Re: Unicode
Reply #1 - Feb 17th, 2008, 6:12am
 
Are you editing / running in an IDE like eclipse, or are you working out of Processing IDE?

Point is: working with unicode text will not change your source code, unless you're explicitely working with the character adresses of some unicode characters (you're probably not.)

Err... what you end up having to set (default on many computers) is  -Dfile.encoding=UTF-8 in the VM arguments.

edit: Also, make sure you check "include all characters" in the processing font maker tool, or your font won't have glyphs for the unicode characters.
Re: Unicode
Reply #2 - Feb 18th, 2008, 8:09am
 
I am using Processing IDE. Include all characters is checked.

When I select the font from “create font” from Tool menu I can only see is list of boxes. I also can not type the Unicode text in processing IDE.

Any suggestions
Page Index Toggle Pages: 1