mirror of
https://github.com/wassname/pyreadline.git
synced 2026-08-11 11:23:56 +08:00
pyreadline: fixes to make completion work on file paths containing non-ascii characters.
encoding is assumed to be compatible to sys.stdout.encoding. A more correct solution must be applied to the completer function which is outside pyreadline. If another encoding is desired set pyreadline.unicode_helper.pyreadline_codepage
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2007-11-09 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* More fixes to ensure unicode works when completing on filepaths with non ascii symbols.
|
||||
This fix assumes sys.stdout.encoding is valid for the filesystem. A more correct fix
|
||||
must be applied to the completer code which is outside pyreadline.
|
||||
Any str characters fed into pyreadline should be converted to unicode using
|
||||
unicode_helper.ensure_unicode.
|
||||
* The encoding assumed of strings is sys.stdout.encoding this can be changed by:
|
||||
e.g. pyreadline.unicode_helper.pyreadline_codepage="utf8"
|
||||
|
||||
2007-10-30 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* Fixing console.title to work with wide characters
|
||||
* Fixing wide character bug for log_sock
|
||||
|
||||
Reference in New Issue
Block a user