]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/utf8.mdwn
web commit by joey
[ikiwiki.git] / doc / todo / utf8.mdwn
index 536ec75b27e3acf9582c8cf57dc64e2dc254fd6d..278fb9382733af315308b3920c991937bb74280b 100644 (file)
@@ -1,27 +1,18 @@
-ikiwiki should support utf-8 pages, both input and output
+ikiwiki should support utf-8 pages, both input and output. To test, here's a
+utf-8 smiley:
+
+# ☺
 
 Currently ikiwiki is belived to be utf-8 clean itself; it tells perl to use
 binmode when reading possibly binary files (such as images) and it uses
 utf-8 compatable regexps etc.
 
 
 Currently ikiwiki is belived to be utf-8 clean itself; it tells perl to use
 binmode when reading possibly binary files (such as images) and it uses
 utf-8 compatable regexps etc.
 
-utf-8 IO is not enabled by default though. While you can probably embed
-utf-8 in pages anyway, ikiwiki will not treat it right in the cases where
-it deals with things on a per-character basis (mostly when escaping and
-de-escaping special characters in filenames).
-
-To enable utf-8, edit ikiwiki and add -CSD to the perl hashbang line.
-(This should probably be configurable via a --utf8 or better --encoding=
-switch.)
-
-The following problems have been observed when running ikiwiki this way:
+There may be the odd corner where utf-8 still doesn't work; these are being
+fixed as they're found.
 
 
-* If invalid utf-8 creeps into a file, ikiwiki will crash rendering it as
-  follows:
+Notes:
 
 
-       Malformed UTF-8 character (unexpected continuation byte 0x97, with no preceding start byte) in substitution iterator at /usr/bin/markdown line 1317.
-       Malformed UTF-8 character (fatal) at /usr/bin/markdown line 1317.
+* Apache "AddDefaultCharset on" settings will not play well with utf-8
+  pages. Turn it off.
 
 
-  In this example, a literal 0x97 character had gotten into a markdown
-  file. 
-  
-  Here, let's put one in this file: "\97"
+[[todo/done]]