]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add comment/query regarding file name/title encoding.
authorMesar Hameed <mesar.hameed@gmail.com>
Fri, 5 Sep 2014 21:54:15 +0000 (22:54 +0100)
committerMesar Hameed <mesar.hameed@gmail.com>
Fri, 5 Sep 2014 21:54:15 +0000 (22:54 +0100)
doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn

index a454d7da5d6565fa4e475fca5cef8af1ff5e0c49..78d39fc88c3f4e1e2efcc0f520969d6c7805c9c7 100644 (file)
@@ -58,4 +58,20 @@ I hope it's a bug, not a feature and you fix it soon :) --[[Paweł|ptecza]]
 >>>>> 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]]
 
 >>>>> 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]]
 
+> Note: [libencode-imaputf7-perl][1] has made it into debian.
+>
+> I would value some clarification, in the ikiwiki setup file I have
+>
+>     wiki_file_chars: -[:alnum:][\p{Arabic}()]+/.:_
+>
+> Ikiwiki doesn't seem to produce any errors on the commandline for this, but
+> when I attempt to create a new post with Arabic characters from the web I get the following error :
+>
+>     Error: Cannot decode string with wide characters at /usr/lib/x86_64-linux-gnu/perl/5.20/Encode.pm line 215. 
+>
+> Should the modified regexp not be sufficient?
+> Ikiwiki 3.20140815.
+> --[[mhameed]]
+
 [[wishlist]]
 [[wishlist]]
+[1]: https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=libencode-imaputf7-perl