[fedora-java] Java 7 can't understand some chars

Orion Poplawski orion at cora.nwra.com
Tue Nov 22 00:03:45 UTC 2011


On 11/21/2011 02:30 PM, Deepak Bhole wrote:
>
> This is expected behaviour with Java 7. Until Java 6, encoding errors
> were only presented as warnings. Now they are errors:
>
> http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
>
> "This is the default value. No language changes were introduced in Java
> SE 6. However, encoding errors in source files are now reported as
> errors, instead of warnings, as previously."
>
> You can get around it by specifying -source 1.6, but fixing the source
> is a better fix IMO.

How does one fix the source?


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the java-devel mailing list