diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-01-18 18:00:10 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-01-18 18:00:10 -0500 |
commit | 4a8389825ae0715ba68846881ddc8d25b3f9ccb8 (patch) | |
tree | 8852d872000f4d24251cbe2c4e850e3c29ce61eb | |
parent | 265b4f0576d5e6be61d80239db372430c52f31b7 (diff) | |
download | ikiwiki-4a8389825ae0715ba68846881ddc8d25b3f9ccb8.tar ikiwiki-4a8389825ae0715ba68846881ddc8d25b3f9ccb8.tar.gz |
update
-rw-r--r-- | doc/bugs/removing_pages_with_utf8_characters.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/bugs/removing_pages_with_utf8_characters.mdwn b/doc/bugs/removing_pages_with_utf8_characters.mdwn index 77ec00575..2fa4efa8b 100644 --- a/doc/bugs/removing_pages_with_utf8_characters.mdwn +++ b/doc/bugs/removing_pages_with_utf8_characters.mdwn @@ -26,3 +26,24 @@ I wrote the following patch, which seems to work on my machine. I'm running on F > code you patched. So I need to understand why that is apparently not > working for you. (It works fine for me, even when deleting a file named > "umläute" --[[Joey]] + +---- + +> Update, having looked at the file in the src of the wiki that +> is causing trouble for remove, it is: `uml\303\203\302\244ute.mdwn` +> And that is not utf-8 encoded, which, represented the same +> would be: `uml\303\244ute.mdwn` +> +> I think it's doubly-utf-8 encoded, which perhaps explains why the above +> patch works around the problem (since the page name gets doubly-decoded +> with it). The patch doesn't fix related problems when using remove, etc. +> +> Apparently, on apoca's system, perl encodes filenames differently +> depending on locale settings. On mine, it does not. Ie, this perl +> program always creates a file named `uml\303\244ute`, no matter +> whether I run it with LANG="" or LANG="en_US.UTF-8": +> +> perl -e 'use IkiWiki; writefile("umläute", "./", "baz")' +> +> Remains to be seen if this is due to the older version of perl used +> there, or perhaps FreeBSD itself. --[[Joey]] |