X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5b5265282658c9b7317d6ed782555c3467927ebf..3bb00d142a4d31316fc6f0eb1277aa2fafe4dbe9:/doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn?ds=inline diff --git a/doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn b/doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn index 9c5564efc..d20e5b1f8 100644 --- a/doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn +++ b/doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn @@ -1,9 +1,29 @@ -It doesn't happen on ikiwiki.info but on my site if I enter any of the fancy typography characeters (â,â,â¦, etc) then when I save the page they are displayed as garbage characters. I've put an example at the top of [this page](http://adam.shand.net/iki/sandbox.html). +It doesn't happen on ikiwiki.info but on my site if I enter any of the fancy typography characeters (â,â,â¦, etc) then when I save the page they are displayed as garbage characters. I've put an example at the top of [this page](http://adam.shand.net/iki/2007/Test_for_possible_ikiwiki_bug.html?updated). Sorry, I know the title is ridiculously vague for a bug but I don't know what the proper name the fancy typography characters are. :-/ -- [[AdamShand]] -> Well, they seem fine in this post? --[[Joey]] +> The page is fine if I download it and view it locally, or put it on my +> laptop's web server. I imagine that the problem is due to your web server +> not saying that the encoding of the page is utf8. For apache you could +> try setting this: +> +> AddDefaultCharset UTF-8 +> +> Although I don't need that setting here.. Maybe your apache config has +> some problem, because your web server is doing this: --[[Joey]] ->> Damn that was fast, that save was just my first test to see if it effected ikiwiki! :-) More info included now. -- Adam. \ No newline at end of file + Accept-Ranges: bytes + Content-Length: 2135 + Content-Type: text/html; charset=iso-8859-1 + + + +
+ + +Thanks for that I assumed it would be Perl foo. I'll look into the web server config. Though, just thinking some more ... it's weird that it does the correct thing on preview but not on display. Hrm ... -- Adam. + +**[[FIXED|done]]** - Adding "AddDefaultCharset UTF-8" to my Apache config fixed the problem. Thanks for the help Joey (especially since it had nothing to do with ikiwiki!). - Adam.