Bug#861537: [PATCH] Fix Debian Bug#861537: malformed UTF-8 chars in output - failure to fall through

2017-04-30 Thread Zenaan Harkness
Found the clean_utf_8() bug too (PATCH 4 above). Now the question comes to mind "why doesn't replacing space with '_' work in utf_8 mode?" Detox newbie here, so perhaps there's an obvious reason, but at least now we can cascade through from safe(), to utf_8(), as needed.

Bug#861537: [PATCH] Fix Debian Bug#861537: malformed UTF-8 chars in output - failure to fall through

2017-04-30 Thread Eriberto Mota
Here is the patches now!!! Thanks. 2017-04-30 9:46 GMT-03:00 Zenaan Harkness : > - Debian bug is Bug#861537 > > - when constructing a custom detox "translation table" with the fall through >option (no default specified, or "default" without a value), detox creates >malformed characters i

Bug#861537: [PATCH] Fix Debian Bug#861537: malformed UTF-8 chars in output - failure to fall through

2017-04-30 Thread Zenaan Harkness
- Debian bug is Bug#861537 - when constructing a custom detox "translation table" with the fall through option (no default specified, or "default" without a value), detox creates malformed characters in the output - every "clean_*" code path is effected. - clean_iso8859_1() and clean_saf