TIP: Click on subject to list as thread! ANSI
echo: linux
to: Holger Granholm
from: Maurice Kinal
date: 2019-02-19 23:18:00
subject: Character codes

Hej Holger!

 HG> didn't agree with the chr.codes I had

That is because it cannot be mapped out to PC8.  latin1 will work and will be 
mapped out to 0xf8 (dec 248 if you prefer).  In both utf8 and latin1, decimal 
148 is an extended control code and not whatever PC8 shows it as since PC8 
doesn't have any extended control codes and instead has 8 bit characters for 
that range (128-159).  Near as I can figure dec 148 in PC8 would be the "LATIN 
SMALL LETTER O WITH DIAERESIS" which in latin1 is dec 246 or the ö character 
in utf8.

 HG> and the slashed capital O is to be found among the graphical chrs
 HG> of PC8 as code 216. This is often used as a replacement for zero.

I'll have to take your word for that since I have never found a map for PC8.  I 
have seen specualtion that it is the same as CP437.  Is it?

Livet är gott,
Maurice

... En Møøse hade en gång min syster ...
--- GNU bash, version 5.0.2(1)-release (aarch64-raspi3b+-linux-gnu)
                                                                                                                     
* Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)

SOURCE: echomail via QWK@dmine.net

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™.