Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

mTCP: A Unicode enabled IRCjr is available for testing (Announce)

posted by mbbrutman Homepage, Washington, USA, 05.02.2023, 18:10

> Yes,please! I also very much advocate using the DOSLFN mapping files. It is
> simple, very usable and it not good for anyone to introduce a new formats
> for unicode mappings.

I took a look and I read the code that generates the files to figure out the file format.

Unfortunately, I'm looking for something very different with Telnet and IRC. Strict mappings from the code page characters to Unicode are published, and those table files require a strict mapping. I need something more relaxed ... a lot of Unicode code points have reasonably close substitutes available. For example, there are at least two Unicode "black diamond" characters that I know of, with just slightly different shapes. I map both of those to the character 0x04, which is a diamond, and that's close enough for display purposes. There are a lot of variations of line drawing characters with different line weights that can be represented by the standard line drawing characters, so I map those too. I think for 128 different possible code points I have over 300 Unicode characters mapping to them.

Technically what I'm doing is not correct, but I'd rather see a black diamond or a line drawing character of some sort rather than the standard "I can't display this glyph" tofu character. Which is also why I went with a text file to allow users to define their own mappings; they can be as strict or as sloppy as they want.

I can use the published tables as a starting point, but I suspect for display purposes people will want to see the additional mappings.

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

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 197 users online (0 registered, 197 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum