Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-852

Encoding of URLs is not coherent in UTF-8 environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0 B3, 1.0 B4, 1.0 B5, 1.0 B6
    • Fix Version/s: None
    • Component/s: Localization
    • Labels:
      None
    • Environment:
      Mac OS X and Linux, tomcat 5 (more specifically enhydra 7.0), UTF-8 environment
    • keywords:
      UTF-8, encoding, URL
    • Similar issues:

      Description

      To reproduce the bug, use an UTF-8 instance of xwiki and create a page containing non ascii characters (e.g. été)

      The form redirects the user to:
      http://localhost:8080/xwiki/bin/edit/Main/%C3%A9t%C3%A9?template=&parent=&title=%E9t%E9

      As you can see, été has been transformed :
      1. into %C3%A9t%C3%A9 (which correspond to the UTF-8 encoding)
      2. into %E9t%E9 (which correspond to ISO-8859-1 encoding)

      This issue relates partly to XWIKI-822, but it is more specific and is crucial in UTF-8 (or rather non-latin1) environments.

      Gilles,

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            serasset Gilles Sérasset
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: