aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsmcv <smcv@web>2014-09-08 16:42:12 -0400
committeradmin <admin@branchable.com>2014-09-08 16:42:12 -0400
commit49d221fee732a98b6ebb54713037f19f774dbe33 (patch)
tree8e201dfe2d11b29fe8f09f4907f0e328b492a3c6 /doc
parent634a563cbb1166972ccfe27a0ea69827e1e717ee (diff)
downloadikiwiki-49d221fee732a98b6ebb54713037f19f774dbe33.tar
ikiwiki-49d221fee732a98b6ebb54713037f19f774dbe33.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn b/doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn
index ac82c94d2..19b9b59bb 100644
--- a/doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn
+++ b/doc/todo/should_use_a_standard_encoding_for_utf_chars_in_filenames.mdwn
@@ -48,6 +48,11 @@ I hope it's a bug, not a feature and you fix it soon :) --[[Paweł|ptecza]]
>>>>>> 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]]
+>>>>>>> IkiWiki assumes UTF-8 throughout, so escaped filename characters
+>>>>>>> should be `__x____y____z__` where x, y, z are the bytes of the
+>>>>>>> UTF-8 encoding of the character. I don't know how to achieve that
+>>>>>>> from a non-UTF-8 locale. --[[smcv]]
+
>>>> 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]]
@@ -60,6 +65,10 @@ I hope it's a bug, not a feature and you fix it soon :) --[[Paweł|ptecza]]
> Note: [libencode-imaputf7-perl][1] has made it into debian.
>
+>> "IMAP UTF-7" uses & as an escape character, which seems like a recipe
+>> for shell injection vulnerabilities... so I would not recommend it
+>> for this particular use. --[[smcv]]
+
> I would value some clarification, in the ikiwiki setup file I have
>
> wiki_file_chars: -[:alnum:][\p{Arabic}()]+/.:_