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

Curly Quote coming from a Copy Paste is transformed into ? after cache is reset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1, 1.5 M2
    • Component/s: {Unused} Core
    • Labels:
      None
    • Environment:
      iso-8859-1
    • Similar issues:

      Description

      Very often when we copy paste content from (french) web or office documents, apostrophes are curly.

      Example: l'Economie numérique sur http://assisesdunumerique.fr/actualites/

      When we save and view everything seems normal. However, when the cache is reset and the data read from the database again, the character is lost and transformed to a ?

      It seems this character is not supported by iso-8859-1. This problem has not been tested on UTF-8.

      The valid character for apostrophes is a straight apostrophe or quote: '

      This is a very very annoying bug since it is the most common copy paste issue. There are others like the Euro character.
      If we can find a simple fix that would be great.

        Attachments

          Activity

            People

            Assignee:
            jvdrean Jean-Vincent Drean
            Reporter:
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: