Y
yzzzzz
Hi,
My source code is in UTF-8. I am using Netbeans and my project won't
compile because the compiler thinks the source code is in ISO-8859-1.
Where can I change the encoding? I have *already* changed it in the
Netbeans options (so it displays right). I have also tried adding
<property name="javac.compilerargs" value="-encoding UTF-8"/> in
build-impl.xml (ant XML file) but it still doesn't compile.
Thank you for your help.
PS.
The error is e.g. on a line where I have
char c = 'é';
The compiler thinks it is
char c = 'é';
but obviously a character can't be 2 characters.
My source code is in UTF-8. I am using Netbeans and my project won't
compile because the compiler thinks the source code is in ISO-8859-1.
Where can I change the encoding? I have *already* changed it in the
Netbeans options (so it displays right). I have also tried adding
<property name="javac.compilerargs" value="-encoding UTF-8"/> in
build-impl.xml (ant XML file) but it still doesn't compile.
Thank you for your help.
PS.
The error is e.g. on a line where I have
char c = 'é';
The compiler thinks it is
char c = 'é';
but obviously a character can't be 2 characters.