itsanjan / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Use ANSI rather than UTF-8 in sketch #538

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit a .pde with 'notepad++' in ANSI caracters mode and type 'String 
aff="éàô";' 
2. complile the sketch in Arduino 0022 (windows XP)
3. get a error warning and when upload to Arduino mega 2560, the string is 
hazardous ie. not contain the ANSI code of the caracters !!!

Message of the warning :
-------------------------------------------------------------
If this code was created with an older version of Processing,
you may need to use Tools -> Fix Encoding & Reload to update
the sketch to use UTF-8 encoding. If not, you may need to
delete the bad characters to get rid of this warning.
-------------------------------------------------------------

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Arduino 0022 on Windows XP + Arduino mega 2560

Please provide any additional information below.
Is there a compile order to put in the sketch or an option in Arduino 0022 to 
work with ANSI rather UTF-8 ??
Note : i do not want to use UTF-8 caracters on my projet and i never want to 
use UTF-8.

Original issue reported on code.google.com by jeneveux...@gmail.com on 8 May 2011 at 8:42

GoogleCodeExporter commented 9 years ago
You might try taking this up with the Processing folks, but it's not something 
I think we need to change.  Supporting multiple encodings sounds like a huge 
headache.

Original comment by dmel...@gmail.com on 14 May 2011 at 4:19