From 3419cdfcbb6ea3d939c0803e82644b9b36e41c6a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 30 Apr 2008 11:09:37 -0400 Subject: [PATCH] web commit by buo: Web editing and mangled characters --- doc/index/discussion.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index 329673e91..1ece57a9f 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -60,6 +60,21 @@ I'm kind of at a loss how to track this down or work around it. Any suggestions ---- +I had been using ikiwiki for a while without any problems. Recently, however, I'm having a problem with the web editor: accented characters are "mangled" by the wiki. For instance, if I type the character "á", it is rendered as "á". If I look (with `less`) at the html file generated by ikiwiki, I see: `

�<83>¡

` (the ? sign looks like a square in xterm). More details: + +* My machine's locale is en_US.utf8 +* In my ikiwiki setup file I have `locale => 'en_US.utf-8'` +* If I edit a file in vim, add accented characters, and render the wiki from the command line, the page displays correctly. The problem only appears when using the web editor. +* I am using perl 5.10.0. +* The problem appears even when previewing the page; I don't have to save it. I believe this rules out any RCS misconfiguration. +* If I edit a page with accented characters in the web editor, and then preview it without making any changes, all accented characters are mangled. +* I updated the system's packages before the problem appeared. I didn't have time to work on my wiki for a few weeks, so I can't point out which update could be guilty. +* I am running ikiwiki 2.44. + +I have googled all over the place and I can't find any mention of a similar problem, which makes me think this is a configuration problem on my end and not a bug. It likely has to do with UTF8; I am at a loss about how to fix (or even diagnose) this, though, and I'd appreciate any pointers. + +---- + # Installation of selected docs (html) The latest release has around 560 files (over 2MB) in html. -- 2.26.2