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.
IndexProgramming Questions & HelpPrograms › special characters
Page Index Toggle Pages: 1
special characters (Read 317 times)
special characters
Sep 4th, 2008, 9:02pm
 
hi,
I have problem with special letters,
I'm from Poland, so I'm trying to use polish alphabet with its special characters. When I'm loading text to the code (for example chapter 8 networks and graphs in Visualizing data) everything is fine and working very well, but after saving and reopen most of the special characters disappear (except "o" with little line above, cause it exists also in spanish alphabet).

I don't know if there is any possibility for me in this case?
Maybe  there is something like "glyphs" in InDesign, where  all "unusual and forgotten" letters are hidden?

please let me know
a.
Re: special characters
Reply #1 - Sep 4th, 2008, 9:48pm
 
First, you should tell us which version of Processing you are using.
In recent versions, PDE wants the sketches to be encoded in UTF-8. I think older versions used the current codepage or something like that. If you have high Ascii chars in a non-UTF-8 file, recent PDE should complain about bad encoding.

Beside, you can encode special chars with Java escape sequences. Eg. \u00C5 is character Å.
Note that if you want to display such character, it must be in the character range of the exported font.
Re: special characters
Reply #2 - Sep 5th, 2008, 12:43pm
 
thanks a lot,

I just realize that unfortunately java unicode for east-europe doesn't contain polish characters (I just hoped, that it can't be possible :/
and now I found special tricks from polish programmers Smiley
so thanks anyway
Page Index Toggle Pages: 1