web commit by buo: Web editing and mangled characters
authorJoey Hess <joey@kitenet.net>
Wed, 30 Apr 2008 15:09:37 +0000 (11:09 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 30 Apr 2008 15:09:37 +0000 (11:09 -0400)
doc/index/discussion.mdwn

index 329673e917b15edbeef4158b241ba30e3594a5a4..1ece57a9f1531ad540b4ff93a7c68181d1718f78 100644 (file)
@@ -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: `<p>�<83>¡</p>` (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.