summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2008-04-30 11:09:37 -0400
committerJoey Hess <joey@kitenet.net>2008-04-30 11:09:37 -0400
commit3419cdfcbb6ea3d939c0803e82644b9b36e41c6a (patch)
tree6f8c726f14b5328561f6b9bd9ead3ec2205eaa7d
parent112737535c023bf363c9d6be2377206417e4eebe (diff)
web commit by buo: Web editing and mangled characters
-rw-r--r--doc/index/discussion.mdwn15
1 files changed, 15 insertions, 0 deletions
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: `<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.