Description

inlining iso text into utf8 page backtraces with Unicode Error

Example

inline:iso.txt

Details

MoinMoin Version

Workaround

Discussion

This is no bug, but expected behavior. Don't do that!

Hehe, yeah. But as quite much src is iso, we should solve that sooner or later.

We need test page that fail

Fixed by doing some fuzzy decoding, first, trying utf-8, then config.charset, then iso-8859-1 with replace. This will never raise, but may return junk. Until we have (we will not) correct data about attachment charset, I don't see any other solution.

Fixed also the bug when viewing attachment, non-utf-8 would show with missing characters.

-- NirSoffer 2004-11-08 01:27:40

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UnicodeErrorOnInline (last edited 2007-10-29 19:09:49 by localhost)