[
https://issues.apache.org/jira/browse/FOR-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190838#comment-13190838
]
David Crossley commented on FOR-1231:
-------------------------------------
Thanks. I was thinking of a similar patch. However i wondered if it would need
to append this setting to any existing JAVA_TOOL_OPTIONS then reset at finish.
I have applied your patch as-is. Thanks.
If someone thinks that it needs more, then please do.
Regarding the Cocoon situation, i think that the doc comments refer to the fact
that Cocoon/Forrest have many supporting products handling various parts of the
system. Perhaps some of those treat the encoding differently. So this
environment setting seems a good solution.
> Forrest does not deal properly with UTF-8 .xml content, even with the proper
> XML content-type header, and generates corrupted HTML
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: FOR-1231
> URL: https://issues.apache.org/jira/browse/FOR-1231
> Project: Forrest
> Issue Type: Bug
> Components: Internationalisation (i18n)
> Affects Versions: 0.9, 0.10-dev
> Reporter: Karl Wright
> Priority: Critical
> Attachments: FOR-1231.patch
>
>
> We're using Forrest to generate the Apache ManifoldCF site. We've added
> Japanese content. The content worked fine via localhost:8888, but the
> generated html content does not load properly in a browser, even though the
> browser correctly divines that the HTML page has utf-8 encoding. It looks
> like many utf-8 characters in the source XML are handled correctly but some
> are corrupted. I've also tried the fix in FORREST-668 but this does not
> help. See http://incubator.apache.org/connectors and click on the tab in
> Japanese to see what I mean. The current source for the site can be found
> in: https://svn.apache.org/repos/asf/incubator/lcf/trunk/site.
> I checked out latest Forrest trunk and built and used that but there has been
> no improvement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira