SIGN IN SIGN UP

Issue #16182: Fix readline begidx, endidx, and use locale encoding

Based on patch by Serhiy Storchaka.
M
Martin Panter committed
f00c49df10f04bf3b40c7d91efb8204068524d8f
Parent: 19e21e4