Bug 743 : Corruption when saving code containing non-ASCII characters
Last modified: 2008-06-10 20:42




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

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.