]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/unicode_encoded_urls_and_recentchanges.mdwn
git: Fix handling of utf-8 filenames in recentchanges.
[ikiwiki.git] / doc / bugs / unicode_encoded_urls_and_recentchanges.mdwn
index 9184a6b84ead0d193f15ad4f52dabd6283f04629..2568aef387638dbb2f2cc1e7d7a11dec11fe603c 100644 (file)
@@ -1,9 +1,13 @@
 it appears that unicode characters in the title that are unicode letters are spared the __ filename encoding but instead saved in their utf8 encoding. (correct me if i'm wrong; didn't find the code that does this.) -- see below for examples.
 
+> Filenames can have any alphanumerics in them without the __ escaping.
+> Your locale determines whether various unicode characters are considered
+> alphanumeric. In other words, it just looks at the [[:alpha:]] character
+> class, whatever your locale defines it to be. --[[Joey]]
+
 this is not a problem per se, but (at least with git backend) the recent changes missinterpret the file name character set (it seems to read the filenames as latin1) and both display wrong titles and create broken links.
 
 the problem can be shown with an auto-setup'd ikiwiki without cgi when manually creating utf8 encoded filenames and running ikiwiki with LANG=en_GB.UTF-8 .
 
-----
+> Encoding issue, I figured out a fix. [[done]] --[[Joey]]
 
-[[right→link]], [[germanöumlaut]], [[smalµmu]], [[cyrillicԀletter]], [[tibetan༆something]], [[devanagariऔletter]], [[subscript₉nine]], [[subscriptₐa]]