Message283953
| Author |
xdegaye |
| Recipients |
martin.panter, xdegaye |
| Date |
2016年12月24日.14:04:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1482588297.3.0.948095492859.issue28997@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
With your patch Martin, test_nonascii is skipped on Android when LANG is not set and the issue is fixed.
> Just to clarify, is the problem that Python (correctly) assumes UTF-8 encoding on Android, but Readline does not unless you tweak the environment variable?
Readline (correctly) uses the locale environment variables to set eight-bit mode (see function _rl_init_eightbit() in Readline nls.c) and when the LC_CTYPE category is C or POSIX, eight-bit characters are discarded on input and a bell character ('\x07') is echoed instead. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年12月24日 14:04:57 | xdegaye | set | recipients:
+ xdegaye, martin.panter |
| 2016年12月24日 14:04:57 | xdegaye | set | messageid: <1482588297.3.0.948095492859.issue28997@psf.upfronthosting.co.za> |
| 2016年12月24日 14:04:57 | xdegaye | link | issue28997 messages |
| 2016年12月24日 14:04:57 | xdegaye | create |
|