X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/57cf8ef4f205673ef5ac6129f810c971bcd4e5fa..c323a51efb3b43b8931c12f66e6ae142f1eb20ed:/doc/index/discussion.mdwn diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index c201f6eff..92fe8fa47 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -5,7 +5,7 @@ Do so here.. Note that for more formal bug reports or todo items, you can also edit the [[bugs]] and [[todo]] pages. -[[toc ]] +[[!toc ]] # Installation/Setup questions @@ -58,33 +58,7 @@ I'm kind of at a loss how to track this down or work around it. Any suggestions >Ubuntu Hardy Heron has a debian package now, but that does not work either. > --Dirk 22Apr2008 ----- - -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. - -> More information: - -* I downgraded to ikiwiki 2.41 and firefox 2.0.11; the problem still appears. I know -for sure that ikiwiki 2.41 used to work here. -* I have upgraded to ikiwiki 2.45 -* On a page where characters are mangled, firefox reports that the charset is utf-8. - -> I think this leaves the upgrade to perl 5.10 as the last suspect. Unfortunately, I can't -> easily go back to 5.8. I will probably install my distro again in another partition, but -> that will take some time. -> I've been unable to use my wiki for more than a week now, I'd really appreciate it if -> someone has pointers or suggestions. Should I move this to a bug? +> This might be related to [Text::Markdown bug #37297](http://rt.cpan.org/Public/Bug/Display.html?id=37297).--ChapmanFlack 9Jul2008 ---- @@ -294,7 +268,7 @@ easily, perl is possible (but I'm not strong in perl). > Jamey Sharp and I have a set of scripts in progress to convert other wikis to ikiwiki, including history, so that we can migrate a few of our wikis. We already have support for migrating MoinMoin wikis to ikiwiki, including conversion of the entire history to Git. We used this to convert the [XCB wiki](http://xcb.freedesktop.org/wiki/) to ikiwiki; until we finalize the conversion and put the new wiki in place of the old one, you can browse the converted result at . We already plan to add support for TWiki (including history, since you can just run parsecvs on the TWiki RCS files to get Git), so that we can convert the [Portland State Aerospace Society wiki](http://psas.pdx.edu) (currently in Moin, but with much of its history in TWiki, and with many of its pages still in TWiki format using Jamey's TWiki format for MoinMoin). > -> Our scripts convert by way of HTML, using portions of the source wiki's code to render as HTML (with some additional code to do things like translate MoinMoin's `\[[TableOfContents]]` to ikiwiki's `\[[toc ]]`), and then using a modified [[cpan HTML::WikiConverter]] to turn this into markdown and ikiwiki. This produces quite satisfactory results, apart from things that don't have any markdown equivalent and thus remain HTML, such as tables and definition lists. Conversion of the history occurs by first using another script we wrote to translate MoinMoin history to Git, then using our git-map script to map a transformation over the Git history. +> Our scripts convert by way of HTML, using portions of the source wiki's code to render as HTML (with some additional code to do things like translate MoinMoin's `\[[TableOfContents]]` to ikiwiki's `\[[!toc ]]`), and then using a modified [[!cpan HTML::WikiConverter]] to turn this into markdown and ikiwiki. This produces quite satisfactory results, apart from things that don't have any markdown equivalent and thus remain HTML, such as tables and definition lists. Conversion of the history occurs by first using another script we wrote to translate MoinMoin history to Git, then using our git-map script to map a transformation over the Git history. > > We will post the scripts as soon as we have them complete enough to convert our wikis. >