home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

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

   Message 56,559 of 56,720   
   Colin Leroy-Mira to All   
   Re: Understanding ASCII encoding across    
   01 Feb 24 22:35:50   
   
   From: colin@colino.net   
      
   Hi,   
      
   >./mistral-7b-instruct-v0.1-Q4_K_M-main.llamafile --temp 0.7 -r '\n' -p   
   >'Display the euro symbol.' | tee /dev/tty | iconv -f UTF-8 -t   
   >ASCII//TRANSLIT |  tr [:lower:] [:upper:] | tr '\n' '\r' > /dev/ttyUSB0   
   >   
   >Display the euro symbol.   
   >Answer: €   
   >   
   >   
   >On the Apple II:   
   >   
   >DISPLAY THE EURO SYMBOL.   
   >ANSWER: EUR   
      
   On a related note about iconv and Apple II,    
      
   1) For international Apple IIs, the charset are:   
   French:  ISO646-FR1   
   Spanish: ISO646-ES   
   Italian: ISO646-IT   
   German:  ISO646-DE   
      
   You can use iconv -f UTF-8 -t ISO646-FR1//TRANSLIT in the same manner.   
      
   2) By the way, glibc 2.39, released yesterday, contains a little patch   
   of mine that translits (some) emojis to ASCII:   
      
   root@a2proxy:~# echo "😉" | iconv -f UTF-8 -t ASCII//TRANSLIT   
   -)   
      
   I wrote it so that my Mastodon client, which relies on a proxy for   
   network access, json parsing and charset change, could display common   
   emojis!   
   --    
   Colin   
   https://www.colino.net/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca