TIP: Click on subject to list as thread! ANSI
echo: linux
to: MAURICE KINAL
from: HOLGER GRANHOLM
date: 2019-03-12 20:52:00
subject: Re: Character codes

MSGID: 2:20/228 000ce5bd
In a message on 03-11-19 Maurice Kinal said to Holger Granholm:

God morgon Maurice

MK> How about something like this instead;

MK> hex  dec   UTF8    hex      dec
86 | 134 = 00E5 | C3 A5 | 195 165

MK> The above matches the small angstrom.

The small angstrom is presented as dec 195 165 on the screen.
That's why I think those two character converted to PC8 fills the need.

MK> Also I am using IBM437 for PC-8 and near as I can tell they match
MK> perfectly but I'll let you be the judge.

Yes they do.

MK> As far as 24 bit characters those are mostly symbols and line drawing
MK> characters from what I see, and it looks like all the text characters
MK> are 16 bit and the leading byte is C3 (195).

Yes, 195 is but 165 is the spanish N with a wave on top for example.
The same goes for some other characters but as you say, 195 prefixes
most of normal characters while 218 and 226 prefix other symbols.

MK> For the degree symbol found at the end of temperatures I get a 16 bit
MK> character except with a C2 (194) as the leading byte;

F8 | 248 = 00B0 | C2 B0 | 194 176

I'll have still to check that but thanks for the tip. We don't have that
symbol on the keyboards but in Windows
I hold the Alt while pressing 0176 on the numerical pad.

 HG> I don't need more than 16-bit characters for that editor.

MK> Other than the occasional Euro sign I suspect so.

On this machine I have an IBM Warp4 that doesn't support the euro sign
but the other machine with OS/2 FP15 does.


Have a nice day,

Holger


.. Smokers are also humans .....though not for as long.
-- MR/2 2.30


--- PCBoard (R) v15.22 (OS/2) 2
* Origin: Coming to you from the Sunny Aland Islands. (2:20/228)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.