ikiwiki/doc/bugs/Fancy_characters_get_munged...

30 lines
1.5 KiB
Plaintext
Raw Normal View History

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).
2007-04-27 07:07:13 +02:00
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]]
2007-04-27 06:55:35 +02:00
2007-04-27 07:23:03 +02:00
> 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]]
2007-04-27 07:07:13 +02:00
2007-04-27 07:23:03 +02:00
Accept-Ranges: bytes
Content-Length: 2135
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2007-04-27 07:37:54 +02:00
2007-04-27 07:39:20 +02:00
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.
2007-04-27 23:37:03 +02:00
2007-04-27 23:52:44 +02:00
**[[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.