diff options
| author | bwarsaw | 2002-12-08 04:19:40 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-08 04:19:40 +0000 |
| commit | 469b12e8cfc912874019fdd0ddc95060d27b98f4 (patch) | |
| tree | e996515b493f0ef19f64fb520b88b217d4670456 /Mailman/Version.py | |
| parent | f0cee937a84edb6dbcff8e3b0058711af08826bd (diff) | |
| download | mailman-469b12e8cfc912874019fdd0ddc95060d27b98f4.tar.gz mailman-469b12e8cfc912874019fdd0ddc95060d27b98f4.tar.zst mailman-469b12e8cfc912874019fdd0ddc95060d27b98f4.zip | |
Tokio Kikichi's patch for multibyte i18n problems. Patch #646884,
explanations:
HyperArch.py in 2.1b5 use Utils.uquote() for CGIescape() and
html_quote() but it does not take language argument. This is no
good for multilbyte charset because characters are escaped in
separate 8bit bytes which results in mojibake. We should rather
use Utils.uncanonstr() to honor the legal characters within the
multibyte charset. This patch fixes other minor bugs in the
current code.
and...
Utils.uquote() makes a multibyte character into two or more
fragmants of Latin-1 characters.
Utils.uquote() makes all the 8bit-set character escaped while
Utils.uncanonstr() checks if the character is within the charset
and escapes only if the chatacter is not legal.
Some additional minor code cleanup by Barry.
Diffstat (limited to 'Mailman/Version.py')
0 files changed, 0 insertions, 0 deletions
