Bug 51790 - It is necessary to set LANG=en_US.UTF-8
Summary: It is necessary to set LANG=en_US.UTF-8
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: documentation (show other bugs)
Version: 1.0
Hardware: PC Linux
: P2 minor
Target Milestone: ---
Assignee: fop-dev
URL: http://xmlgraphics.apache.org/fop/1.0...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 09:22 UTC by Christopher Yeleighton
Modified: 2012-04-01 06:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2011-09-09 09:22:25 UTC
When building FOP, it is necessary to set $LANG to en_US.UTF-8, otherwise you get warnings like the following:

  fop-1.0/src/java/org/apache/fop/render/rtf/RTFHandler.java:136: warning: unmappable character for encoding ASCII

This preparation should be mentioned in the documentation.

<URL: http://xmlgraphics.apache.org/fop/stable/compiling.html >
Comment 1 Vincent Hennebert 2011-09-12 14:28:49 UTC
Thanks for your bug report. Java file must contain ascii characters only. You should be able to build FOP with an ascii-only locale. Please let us know if you find other problematic files.

Thanks,
Vincent
Comment 2 Vincent Hennebert 2011-09-12 14:32:05 UTC
Forgot to add that the issue has been fixed in rev. 1169766:
http://svn.apache.org/viewvc?revision=1169766&view=revision
Comment 3 Glenn Adams 2012-04-01 06:18:38 UTC
batch transition to closed; if someone wishes to restore one of these to resolved in order to perform a verification step, then feel free to do so