Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS internationalization support (Developers)

posted by mbbrutman Homepage, Washington, USA, 25.11.2012, 19:52

You might think Unicode is overrated but the standard for data transfer is UTF-8, so there is not really a choice. If you want your IRC client to correctly interchange characters with other clients then you need to use UTF-8.

This is a text mode application only - GRAFTABL is not relevant here. Using a graphics mode would cure other problems (like not being able to underline properly), but that is for another day.

The BOX and line drawing characters are part of the screen display. I could use something crude like "-" or "=" to form lines if I have to, but that is pretty ugly. If the users selected code page doesn't have those characters then there is not really much else I can do.

I think I'm supposed to sense the current code page, and then map the incoming UTF-8 to characters on that code page. (Or map the keyboard input to the correct UTF-8 character.) Does iconv have those mapping tables?

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

Back to the forum
Board view  Mix view
22760 Postings in 2121 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum