readline: Handle Unicode surrogates properly
readline: Add test for wide characters