TIP: Click on subject to list as thread! ANSI
echo: linux
to: HOLGER GRANHOLM
from: MAURICE KINAL
date: 2014-11-28 11:31:00
subject: Re: chr set translating

Hey Holger!

 HG> I will also need the german ü and Ü characters and the german ß
 HG> character could also be compiled into the set.

See above.  Although you won't be able to read the above in cp437 you should
see the codes for the utf-8 characters that match the ones you sent.

Unicode -> two byte little endian -> cp437 character
====================================================
U+00FC  ->  0xC3 + 0xBC  -> 0x81
U+00DC  ->  0xC3 + 0x9C  -> 0x9A
U+00DF  ->  0xC3 + 0x9F  -> 0xE1

The two byte values are what you should see in a regular hex editor in the
quoted sentence above.  I am assuming
that PC-8 is really cp437.  For the iso-8859-1 values just replace the 'U+00'
part with '0x' in the utf-8 codes (eg U+00FC should convert to 0xFC in
iso-8859-1).

See http://www.utf8-chartable.de/ as they are the best source I have found for
utf-8 characters.

Life is good,
Maurice

... Don't cry for me I have vi.
--- GNU bash, version 4.3.30(1)-release (x86_64-atom-linux-gnu)
* Origin: Pointy Stick Society - Ladysmith BC, Canada (1:153/7001.0)

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