]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/Fancy_characters_get_munged_on_page_save.mdwn
scrubber needs updating
[ikiwiki.git] / doc / bugs / Fancy_characters_get_munged_on_page_save.mdwn
index db646c013a40c92bef862813c8ff82213eac1a83..d20e5b1f86e4883ed504177be847ee620d174ba6 100644 (file)
@@ -4,6 +4,26 @@ Sorry, I know the title is ridiculously vague for a bug but I don't know what th
 
 -- [[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]]
 
->> Yowza 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
+
+       <!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" />
+
+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.