New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item13371: Encoding problem on utf8 VERBATIM block

Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component: WysiwygComponent
Branches: master
Reported By: JozefMojzis
Waiting For:
Last Change By: CrawfordCurrie

How to reproduce

  • Install 1.2.0 Beta1
  • Configure Site CharSet to utf8
  • Create any Topic
  • Enter some utf8 text such
screenshot 52.png

  • Mark the paragraph as VERBATIM (from WYSIWYG)
screenshot 54.png

  • Save
  • Result: Screwed text
screenshot 55.png

-- JozefMojzis - 13 Apr 2015

Can you please attach your test text to this item? Thanks.

-- MichaelDaum - 14 Apr 2015

Attached. The demo texts are from here: and .Many other pangrams are here

-- JozefMojzis - 14 Apr 2015

Confirmed: the html2tml rest handler breaks the encoding. Urgent. Release blocker.

-- MichaelDaum - 14 Apr 2015

See patch at Item13372

-- MichaelDaum - 14 Apr 2015

Patch was almost right

-- CrawfordCurrie - 20 Apr 2015


ItemTemplate edit

Summary Encoding problem on utf8 VERBATIM block
ReportedBy JozefMojzis
Codebase 1.2.0 beta1
SVN Range
AppliesTo Engine
Component WysiwygComponent
Priority Urgent
CurrentState Closed
Checkins distro:7f5796f05673
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches master
masterCheckins distro:7f5796f05673
Topic attachments
I Attachment Action Size Date Who Comment
AbcAbc.txttxt AbcAbc.txt manage 676 bytes 14 Apr 2015 - 07:53 JozefMojzis demo text
screenshot_52.pngpng screenshot_52.png manage 49 K 13 Apr 2015 - 22:51 JozefMojzis  
screenshot_54.pngpng screenshot_54.png manage 59 K 13 Apr 2015 - 22:50 JozefMojzis  
screenshot_55.pngpng screenshot_55.png manage 47 K 13 Apr 2015 - 22:50 JozefMojzis  
Topic revision: r6 - 20 Apr 2015, CrawfordCurrie - This page was cached on 22 Jun 2018 - 12:18.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy