TIP: Click on subject to list as thread! ANSI
echo: linux
to: Holger Granholm
from: Maurice Kinal
date: 2019-03-03 22:58:00
subject: Character codes

Hej Holger!

 HG> I was looking for the hyphen and citation characters and the
 HG> euro sign.

The unicode for it is "U+20AC" which is a 24 bit character and thus will show 
up as three hex characters in a hex editor; e2 82 ac

-={ ':read !echo -e "\u20ac is the same as \xe2\x82\xac"' starts }=-
€ is the same as €
-={ ':read !echo -e "\u20ac is the same as \xe2\x82\xac"' ends }=-

Does that help?  I am not sure which 8 bit encoding has the euro sign other 
than latin9 and there it is a4 which is dec 164.  It doesn't exist in either 
cp437 or cp850.  Both the MS encodings cp1250 and cp1252 show it as dec 128.

 HG> With decimal interpretation I get the citation mark as 218 128
 HG> 157.

Converting e2 82 ac to decimal gives me 226 130 172.

Livet är gott,
Maurice

... Gråt inte för mig jag har vi.
--- 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™.