Re: [Freedos-devel] UTF-8 input and output

2019-06-01 Thread Steve Nickolas
On Sat, 1 Jun 2019, TK Chia wrote: Hello Steve Nickolas, 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

Re: [Freedos-devel] UTF-8 input and output

2019-06-01 Thread TK Chia
Hello Steve Nickolas, 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

Re: [Freedos-devel] UTF-8 input and output

2019-05-27 Thread Steve Nickolas
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

Re: [Freedos-devel] UTF-8 input and output

2019-05-27 Thread Eric Auer
Hi David, the DOS way of supporting charsets with more than 256 different characters ws called DBCS and used only in Asian / CJK countries: https://en.wikipedia.org/wiki/DBCS This is not exactly UTF-8. Normally, DOS users configure their system to use one (or switch between a few) 256

Re: [Freedos-devel] UTF-8 input and output

2019-05-27 Thread TK Chia
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

Re: [Freedos-devel] UTF-8 input and output

2019-05-27 Thread Steve Nickolas
On Mon, 27 May 2019, David Griffith wrote: I'm coordinating a bunch of updates to Frotz[1], including the DOS port. One of the big enhancements is UTF-8 support for input and output. This would allow effortless support for accented characters and alternate alphabets. We've tested games

Re: [Freedos-devel] UTF-8 input and output

2019-05-27 Thread Pär Moberg
Den mån 27 maj 2019 09:38David Griffith skrev: > > I'm coordinating a bunch of updates to Frotz[1], including the DOS port. > One of the big enhancements is UTF-8 support for input and output. This > would allow effortless support for accented characters and alternate > alphabets. We've tested

[Freedos-devel] UTF-8 input and output

2019-05-27 Thread David Griffith
I'm coordinating a bunch of updates to Frotz[1], including the DOS port. One of the big enhancements is UTF-8 support for input and output. This would allow effortless support for accented characters and alternate alphabets. We've tested games written for Spanish (diacritical marks) and