On Tue, 28 May 2019, TK Chia wrote:
Hello Steve Nickolas,
My IRC client (which runs fine on a 386/16 at least) internally
translates from UTF-8 -> UCS-2 -> native codepage (usually CP437).
May I know what particular method(s) and data you use to do the
conversions? I was thinking that something like POSIX iconv( ) will
come in useful, but Open Watcom does not seem to have such a function.
I had some function that went through a byte at a time. I think it came
from an old version of
https://github.com/benkasminbullock/unicode-c/blob/master/unicode.c
I had it output to words, and then translated the words to bytes using a
lookup table.
-uso.
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel