Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      As reported by Csaba Tenkes (cstenkes):

      At exporting a page it would be nice if:

      1. the xml format can use utf-8 encoding.
      2. The usage of html encoded characters like &#xxx; is a not too nice. If the topic contains xml fragmants than the html encoding use & sign and lt; instead of > or & sign and gt; instead of < it is not too nice also.

        Activity

        Hide
        Ryan Holliday
        added a comment -

        Escaping of unicode is an issue with the org.apache.commons.lang.StringEscapeUtils class that has been resolved with commons-lang-3.0, so this issue should be relatively easy to fix in the next major release when the commons-lang package is upgrade. In addition to not escaping unicode characters, MediaWikiXmlExporter.exportToFile should be changed to use the commons-io FileWriterWithEncoding to write files in UTF-8.

        Show
        Ryan Holliday
        added a comment - Escaping of unicode is an issue with the org.apache.commons.lang.StringEscapeUtils class that has been resolved with commons-lang-3.0, so this issue should be relatively easy to fix in the next major release when the commons-lang package is upgrade. In addition to not escaping unicode characters, MediaWikiXmlExporter.exportToFile should be changed to use the commons-io FileWriterWithEncoding to write files in UTF-8.
        Hide
        Ryan Holliday
        added a comment -

        Revision 3747 should resolve this issue.

        Show
        Ryan Holliday
        added a comment - Revision 3747 should resolve this issue.

          People

          • Assignee:
            Ryan Holliday
            Reporter:
            Ryan Holliday
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: