You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (Created) (JIRA)" <de...@uima.apache.org> on 2011/12/06 17:15:39 UTC
[jira] [Created] (UIMA-2301) Anakia website not generating in UTF-8
Anakia website not generating in UTF-8
--------------------------------------
Key: UIMA-2301
URL: https://issues.apache.org/jira/browse/UIMA-2301
Project: UIMA
Issue Type: Bug
Components: Website
Reporter: Marshall Schor
Assignee: Marshall Schor
Anakia has the ability to generate output in various codepage encodings. This is controlled by a mostly undocumented setting in the properties, with the name output.encoding.
An example of the failure is the output of the team-list page with the character "u" with 2 dots above it, with the unicode codepoint in hex of "FC", and the UTF-8 encoding of that value as C3 BC.
Apache webservers are set to output pages assuming they are UTF-8 encoded, so Anakia must be told to output using UTF-8.
Fix this by
1) adding a velocity.properties file where the other velocity control files live, namely, in xdocs/stylesheets
2) fix the anakia call in the build.xml to use this style sheet, and also fix a bug where the style= setting is incorrect.
3) change the character encoding on team-list.xml (source) to be utf-8.
--
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
[jira] [Closed] (UIMA-2301) Anakia website not generating in UTF-8
Posted by "Marshall Schor (Closed) (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor closed UIMA-2301.
--------------------------------
Resolution: Fixed
> Anakia website not generating in UTF-8
> --------------------------------------
>
> Key: UIMA-2301
> URL: https://issues.apache.org/jira/browse/UIMA-2301
> Project: UIMA
> Issue Type: Bug
> Components: Website
> Reporter: Marshall Schor
> Assignee: Marshall Schor
>
> Anakia has the ability to generate output in various codepage encodings. This is controlled by a mostly undocumented setting in the properties, with the name output.encoding.
> An example of the failure is the output of the team-list page with the character "u" with 2 dots above it, with the unicode codepoint in hex of "FC", and the UTF-8 encoding of that value as C3 BC.
> Apache webservers are set to output pages assuming they are UTF-8 encoded, so Anakia must be told to output using UTF-8.
> Fix this by
> 1) adding a velocity.properties file where the other velocity control files live, namely, in xdocs/stylesheets
> 2) fix the anakia call in the build.xml to use this style sheet, and also fix a bug where the style= setting is incorrect.
> 3) change the character encoding on team-list.xml (source) to be utf-8.
--
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