• Victor Stinner's avatar
    bpo-29240: readline now ignores the UTF-8 Mode (#5145) · 2cba6b85
    Victor Stinner yazdı
    Add new fuctions ignoring the UTF-8 mode:
    
    * _Py_DecodeCurrentLocale()
    * _Py_EncodeCurrentLocale()
    * _PyUnicode_DecodeCurrentLocaleAndSize()
    * _PyUnicode_EncodeCurrentLocale()
    
    Modify the readline module to use these functions.
    
    Re-enable test_readline.test_nonascii().
    2cba6b85
unicodeobject.h 80.6 KB