ckwin icon indicating copy to clipboard operation
ckwin copied to clipboard

Default remote charset for linux termtype should be utf8

Open davidrg opened this issue 3 years ago • 1 comments

CKW defaults to latin1-iso which does not work well with the linux terminal type - applications like htop and nano make a mess which persists after you exit: image (1)

This does not occur on Debian 7.8 but does on Debian 10 so at some point I guess the charset changed. utf8 works fine on both versions so its perhaps safest to have the terminal type switch the remote charset to utf8 similar to how the ANSI terminal type switches the remote charset to cp437.

davidrg avatar Aug 02 '22 04:08 davidrg

This can be done from ckoco3.c at around line 12227. Replacing the body of the ISLINUX(tt_type) if statement with setremcharset(TX_UTF8, 4); seems to do the job.

I'm not currently sure if this should actually be done though as its setting up some very specific stuff for the remote charset when the linux terminal type is set.

davidrg avatar Aug 13 '22 08:08 davidrg