----- Original Message ----- > > When debugging this, we saw that rpmbuild actually sets LANG=C, > which disables unicode thus resulting with the error. > > 2. Any idea how to disable the LANG setting during rpmbuild? This is a tricky issue; from what I can see of a quick read of the JLS, it says that source files should be Unicode; but that's not useful here because it doesn't seem to specify the encoding. Anyways, if the OpenJDK compiler derives "ASCII" from LANG=C that's wrong. By default, it should assume input files are UTF-8. I guess the Python people made the same braindamaged mistake though =/ At worst, since Fedora has a policy that files in general should be UTF-8 encoded, we could carry a javac patch that assumes UTF-8. Some more information here: http://stackoverflow.com/questions/1726174/how-to-compile-a-java-source-file-which-is-encoded-as-utf-8 -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel