Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2301

Anakia website not generating in UTF-8

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Website
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment