web commit by buo: Web editing and mangled characters
parent
112737535c
commit
3419cdfcbb
|
@ -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><3E><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)
|
# Installation of selected docs (html)
|
||||||
|
|
||||||
The latest release has around 560 files (over 2MB) in html.
|
The latest release has around 560 files (over 2MB) in html.
|
||||||
|
|
Loading…
Reference in New Issue