UTF-8 locale in RPM build

puntogil at libero.it puntogil at libero.it
Sun Aug 25 21:13:00 UTC 2013


Il 25/08/2013 22:17, Ian Pilcher ha scritto:
> I'm trying to build a jpackage SRPM (jena-iri) on Fedora 19, and it's
> failing, because the locale (LANG) is apparently set to "C" during the
> build.  (javac and javadoc don't like non-ASCII characters in source
> files in an ASCII locale.)
>
> What's the best way to set it to a UTF-8?  (Should I just add "export
> LANG=en_US.UTF-8" to the relevant sections of the SPEC file?)
>
> Thanks!
>
hi
convert the sources code wiith non-ASCII characters with
native2ascii
e.g.
native2ascii -encoding UTF8 A.java A.java
regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puntogil.vcf
Type: text/x-vcard
Size: 89 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130825/6eed2afc/attachment.vcf>


More information about the devel mailing list