Re: UTF-8 locale in RPM build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
begin:vcard
fn:gil
n:;gil
email;internet:puntogil@xxxxxxxxx
version:2.1
end:vcard

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux