]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/i18n_characters_in_post_title.mdwn
web commit by http://chao.myopenid.com/
[ikiwiki.git] / doc / bugs / i18n_characters_in_post_title.mdwn
index f5ed4deee6e9041077cb200071090c13d3b82ae4..8bd25bfd17671c12ae3e1e24339ec76e55a70a1a 100644 (file)
@@ -1,7 +1,7 @@
 It seems that I can't use Polish characters in post title.
 When I try to do it, then I can see error message: "Błąd: bad page name".
 
-I hope it's a bug, not a feature and you fix it soon :) --Pawel
+I hope it's a bug, not a feature and you fix it soon :) --[[Paweł|ptecza]]
 
 > ikiwiki only allows a very limited set of characters raw in page names,
 > this is done as a deny-by-default security thing. All other characters
@@ -20,10 +20,10 @@ I hope it's a bug, not a feature and you fix it soon :) --Pawel
 >> what the character number is. I only want to blog :)
 
 >> BTW, why don't you use the modified-UTF7 coding for page names
->> as used in IMAP folder names with non-Latin letters? --Pawel
+>> as used in IMAP folder names with non-Latin letters? --[[Paweł|ptecza]]
 
 >>> Joey, do you intend to fix that bug or it's a feature
->>> for you? ;) --Pawel
+>>> for you? ;) --[[Paweł|ptecza]]
 
 >>>> Of course you can put Polish characters in the title. but the page
 >>>> title and filename are not identical. Ikiwiki has to place some limits
@@ -38,6 +38,22 @@ I hope it's a bug, not a feature and you fix it soon :) --Pawel
        joey@kodama:~>perl -MIkiWiki -le 'print IkiWiki::titlepage(shift).".mdwn"' "Błąd"
        B__197____130____196____133__d.mdwn
 
+>>>>> Thanks for the hint! It's good for me, but rather not for common users :)
+
+>>>>>> Interesting... I have another result:
+>>>>>>
+>>>>>>        perl -MIkiWiki -le 'print IkiWiki::titlepage(shift).".mdwn"' "Błąd"
+>>>>>>        B__179____177__d.mdwn
+>>>>>>
+>>>>>> What's your locale? I have both pl\_PL (ISO-8859-2) and pl\_PL.UTF-8,
+>>>>>> but I use pl\_PL. Is it wrong? --[[Paweł|ptecza]]
+
 >>>> Now, as to UTF7, in retrospect, using a standard encoding might be a
 >>>> better idea than coming up with my own encoding for filenames. Can 
 >>>> you provide a pointer to a description to modified-UTF7? --[[Joey]]
+
+>>>>> The modified form of UTF7 is defined in [RFC 2060](http://www.ietf.org/rfc/rfc2060.txt)
+>>>>> for IMAP4 protocol (please see section 5.1.3 for details).
+
+>>>>> There is a Perl [Unicode::IMAPUtf7](http://search.cpan.org/~fabpot/Unicode-IMAPUtf7-2.01/lib/Unicode/IMAPUtf7.pm)
+>>>>> module at the CPAN, but probably it hasn't been debianized yet :( --[[Paweł|ptecza]]