]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/index/discussion.mdwn
web commit by buo: Web editing and mangled characters
[ikiwiki.git] / doc / index / discussion.mdwn
index ac0ebe4522bd0e6e93fd8a52687c56f827353091..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.
@@ -94,7 +109,7 @@ I'd like to install ikiwiki as a non-root user. I can plow through getting all t
 perl dependencies installed because that's well documented in the perl world,
 but I don't know how to tell ikiwiki to install somewhere other than / --BrianWilson
 
-> Checkout the tips section for [SharedHosting](/tips/SharedHosting).  It should do the trick. --MattReynolds
+> Checkout the tips section for [[tips/SharedHosting]].  It should do the trick. --MattReynolds
 
 ----
 
@@ -437,10 +452,22 @@ Any suggestions?
 
 I am considering moving a news site to Ikiwiki. I am hoping that Ikiwiki has a feature where anonymous posters can submit a form that moderators can review and then accept for it to be posted on a news webpage (like front page of the website).
 
+> Well, you can have one blog that contains unreviewed articles, and
+> moderators can then add a tag that makes the article show up in the main
+> news feed. There's nothing stopping someone submitting an article
+> pre-tagged though. If you absolutely need to lock that down, you could
+> have one blog with unreviewed articles in one subdirectory, and reviewers
+> then move the file over to another subdirectory when they're ready to
+> publish it. (This second subdirectory would be locked to prevent others
+> from writing to it.) --[[Joey]]
+
 Also it would be good if the news page would keep maybe just the latest 10 entries with links to an archive that make it easy to browse to old entries by date. (Could have over a thousand news articles.)
 
+> The inline plugin allows setting up things like this.
+
 Plus users be able to post feedback to news items. If anonymous, they must be approved first. I'd prefer to not use normal "wiki" editor for feedback.
 
 Any thoughts or examples on this? Any links to examples of news sites or blogs with outside feedback using ikiwiki?
 
 Thanks --[[JeremyReed]]
+