diff options
author | smcv <smcv@web> | 2014-09-08 16:25:09 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-08 16:25:09 -0400 |
commit | 9548f9bf9316d3f336873c03071c7ad8128928ba (patch) | |
tree | 868f02a7ee83dc92c1555ed32dd1b703b7f8ddaa /doc | |
parent | dcfb0e033cf9ec4828dff88eefce809e22c5f8e4 (diff) | |
download | ikiwiki-9548f9bf9316d3f336873c03071c7ad8128928ba.tar ikiwiki-9548f9bf9316d3f336873c03071c7ad8128928ba.tar.gz |
not WTF-8
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn b/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn index b5967e5f6..0047830d6 100644 --- a/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn +++ b/doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn @@ -17,6 +17,16 @@ anarcat@marcos:ikiwiki$ echo "P�re" | hd 00000007 ~~~~ +> I don't know what that is, but it isn't the usual double-UTF-8 encoding: +> +> >>> u'è'.encode('utf-8') +> '\xc3\xa8' +> >>> u'è'.encode('utf-8').decode('latin-1').encode('utf-8') +> '\xc3\x83\xc2\xa8' +> +> A packet capture of the incorrect HTTP request/response headers and body +> might be enlightening? --[[smcv]] + Clicking on the Cancel button yields the following warning: ~~~~ |