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

MSGID: 2:20/228 017bd11c
In a message dated 11-28-14, Maurice Kinal said to Holger Granholm:

Good morning Maurice

and thanks for your reply.

 HG> I will also need the german ü and Ü characters and the german ß

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

The idea is to convert what I see in text to/from CP437 characters.

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

Thanks for the above, it requires a bit of translation of hex to decimal

MK> The two byte values are what you should see in a regular hex editor
MK> in the quoted sentence above. I am assuming that PC-8 is really cp437

Correct.

MK> For the iso-8859-1 values just replace the 'U+00' part with '0x' in
MK> the utf-8 codes (eg U+00FC should convert to 0xFC in iso-8859-1).

Thanks for that tip also.

MK> Hey Holger! HG> character could also be compiled into the set.

The characters I see in both my QWK reader as well as in my editor are
the following lower case letters:

=C3=A5 > †  That is lower case 'a' with a ring on top
=C3=A4 > „   ------- " ------- 'a' with two dots above
=C3=B6 > ”   ------- " ------- 'o'  ------- " -------
&  > &  I guess this is called ampersand an will not cause any
            difficulties in translation

But after juggling a bit with hex to decimal conversion may give some
explanation to those.

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

Thank you very much for the above. I'll save the ltr for further use.

Have a nice day,

Holger

___
 * MR/2 2.30 * A friend: someone who likes you even after they know you.


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