home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX      Torvalds farts & fans know what he ate      8,232 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 5,920 of 8,232   
   Maurice Kinal to Holger Granholm   
   Character codes   
   05 Mar 19 22:17:25   
   
   MSGID: 2:280/464.113 5c7f65f5   
   REPLY: 2:20/228 012a892b   
   TZUTC: -0800   
   RFC-3339: 2019-03-06 06:17:25.349720522+00:00   
   CHRS: UTF-8 4   
   LANG: es_ES.utf8   
   MøøSGID: 2:280/464.113 5c7f65f5-14d84fca   
   Hola Holger!   
      
    HG> OK, the code 218 128 162 that i interpreted as hyphen actually   
    HG> is the longer 'dash'.   
      
   I am not sure what you mean but using 218 (DA) as the leading byte means you   
   are restricted to a 2 byte or 16 bit character and not a 24 bit character that   
   is required for euro sign in utf8.  The way the leading byte works is like   
   this;   
      
   dec 218 = bin 11011010   
                   ^   
   The first zero shows that there are two leading ones which means there is only   
   one trailing byte following.  So that means either 218 128 and 162 is   
   ignored.  A 24 bit character *must* be prefixed by at least 11100000 which is   
   dec 224 or E0.  For the utf8 euro character the prefix is;   
      
   dec 226 = bin 11100010   
                    ^   
   and as you can see the first zero yields three leading ones which is three   
   bytes or 24 bits.   
      
   For the record 218 128 is U+0680 which we already know to be a 16 bit Arabic   
   character.  Also for the record is that all trailing byte(s) must be in the   
   range of 80 - BF or dec 128 to dec 191 which both of your posted trailing   
   bytes are despite the leading byte could only use one.   
      
    HG> God natt min vän   
      
   Thank you.  Buenas noches mi amigo.  :-)   
      
   La vida es buena,   
   Maurice   
      
   ... Un Møøse una vez mordió a mi hermana ...   
   --- GNU bash, version 5.0.2(1)-release (aarch64-raspi3b+-linux-gnu)   
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)   
   SEEN-BY: 15/2 103/705 123/1970 154/10 203/0 221/0 226/17 229/107 426   
   SEEN-BY: 229/452 616 1014 240/5832 249/206 317 400 280/464 5003 292/854   
   SEEN-BY: 310/31 317/3 322/757 342/200 393/68 396/45 423/120 633/280   
   SEEN-BY: 712/848 770/1 2452/250 3828/7 5020/545   
   PATH: 280/464 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca