DOS internationalization support (Developers)
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:
- DOS internationalization support - mbbrutman, 25.11.2012, 01:06 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- DOS internationalization support - Rugxulo, 25.11.2012, 04:19
- DOS internationalization support - mbbrutman, 25.11.2012, 19:52
- DOS internationalization support - marcov, 25.11.2012, 13:15
- DOS internationalization support - mbbrutman, 25.11.2012, 20:05
- DOS internationalization support - Rugxulo, 27.11.2012, 07:55
- DOS internationalization support - marcov, 27.11.2012, 09:35
- DOS internationalization support - mbbrutman, 25.11.2012, 20:05
- DOS internationalization support - Laaca, 25.11.2012, 14:41
- DOS internationalization support - Rugxulo, 25.11.2012, 04:19
Mix view