FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 743 : Corruption when saving code containing non-ASCII characters
Last modified: 2008-06-10 20:42
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
dds
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2008-03-08 10:16
Characters representing non-ASCII Unicode characters (even in strings) gets
converted into question marks when a sketch is saved.
For instance, the following sketch
String a = "καλημέρα";
when saved will immediately appear as
String a = "????????";
Additional Comment
#1 From fry 2008-03-08 10:20
You're at the mercy of how Java handles your default character set. But as
it happens, this is something that I plan to fix for 0136, so that UTF8 is
used for all files.
In the meantime, use ASCII, and for non-ASCII characters use Unicode escape
sequences: \uXXXX and so on.
Additional Comment
#2 From fry 2008-06-10 20:42
fixed for release 0141.