]> 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 20ee4b6c1ac9e0083d48c7f104a326bddd448446..d20e5b1f86e4883ed504177be847ee620d174ba6 100644 (file)
@@ -1,2 +1,29 @@
-Sorry, I know the title is ridiculously vague but I don't know what the proper name for “,”,…, etc are.
+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]]
+
+> 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]]
+
+       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.