utf8convert input echo if utf8 setting is active

Posted by Fiendish on Tue 02 Jul 2019 02:36 AM — 6 posts, 23,860 views.

USA Global Moderator #0
If you send extended ascii characters like é while both input echoing and utf8 output are enabled, the characters won't show in the echo because they aren't valid utf8. The input echo should probably get utf8converted if the utf8 output setting is on.
Australia Forum Administrator #1
Will that even work? Using what codepage?
USA Global Moderator #2
What codepage is used when it's sent by the server? The same character sent by the server gets displayed.
Amended on Tue 02 Jul 2019 03:45 AM by Fiendish
Australia Forum Administrator #3

Well … if the server is sending UTF8 then the code page is UTF8, although UTF8 isn’t strictly a code page as such.

https://en.wikipedia.org/wiki/Code_page

USA Global Moderator #4
I mean when the server doesn't send it as utf8 it still gets displayed in utf8 output mode.
Amended on Tue 02 Jul 2019 11:06 AM by Fiendish
USA Global Moderator #5
I could have also asked what code page gets used when you call utils.utf8convert.