diff options
author | smcv <smcv@web> | 2014-09-08 18:25:00 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-09-08 18:25:00 -0400 |
commit | c69120058ba671e1c6863796b511710f5df3efa2 (patch) | |
tree | d5c7bbc32e094227dfac45b612d32ebfdc3f82ee /doc/bugs | |
parent | d8ff916e7a1e1e2684f592a7c616c354fff70bd0 (diff) | |
download | ikiwiki-c69120058ba671e1c6863796b511710f5df3efa2.tar ikiwiki-c69120058ba671e1c6863796b511710f5df3efa2.tar.gz |
possible debugging aid
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/garbled_non-ascii_characters_in_body_in_web_interface.mdwn | 11 |
1 files changed, 11 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 1722c0f6e..e80c52ba6 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 @@ -60,6 +60,17 @@ Clicking on the Cancel button yields the following warning: Error: Cannot decode string with wide characters at /usr/lib/x86_64-linux-gnu/perl/5.20/Encode.pm line 215. ~~~~ +> Looks as though you might be able to get a Python-style backtrace for this +> by setting `$Carp::Verbose = 1`. +> +> The error is that we're taking some string (which string? only a backtrace +> would tell you) that is already flagged as Unicode, and trying to decode +> it from byte-blob to Unicode again, analogous to this Python: +> +> some_bytes.decode('utf-8').decode('utf-8') +> +> --[[smcv]] + The apache logs yield: ~~~~ |