Re: Editing PETSCII on Linux

From: Peter Krefting <>
Date: Tue, 25 Mar 2014 08:41:28 +0100 (CET)
Message-ID: <>

> I keep wondering if someone hasn't already come up with a PETSCII to 
> Unicode mapping that's two-way.

As always, Triad to the rescue:

see also

I have an altered version of this in C form in my D64 viewer, 
modified for Swedish PETSCII:;a=blob;;h=47a46c92f5d9ddfda952f09c1a108e868add761e;hb=refs/heads/master

For it to be two-way, you would need to map all the unknown 
characters, possibly to the Unicode private usa area (PUA) 
<>. The simplest mapping 
is probably just to map any unused area to U+E0XX where XX is the 

Also note that PETSCII contains a lot of duplicated characters, so if 
you use them and still want it to display correctly you might need to 
use something like variation selectors 

\\// Peter -

       Message was sent through the cbm-hackers mailing list
Received on 2014-03-25 08:00:02

Archive generated by hypermail 2.2.0.