Description

Do not convert unicode string into utf-8 encoded byte string by default

The XSLT parser convert the string to early as UTF-8 string. I've discovered this during the development of an macro which embed the content of a non-picture attachment into a wiki page. The problem occurs while a XML file is embedded due to to eary conversion to UTF-8.

The UTF-8 string is required by 4Suite XML parser. So the provided patch do this at the step where 4Suite is called.

Steps to reproduce

  1. do this...

Example

Component selection

Details

MoinMoin Version

1.7.0

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Will be committed soon

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/DoNotConvertUnicodeToUTF8ForXsltParser (last edited 2009-11-27 21:07:11 by ReimarBauer)