[Cuis] [ANN] A first port to Cuis of Sport and Swazoo

Germán Arduino garduino at gmail.com
Mon Jan 21 04:22:03 CST 2013


2013/1/21 H. Hirzel <hannes.hirzel at gmail.com>:
> Hello Germán
>
> Thank you for porting Sport and Swazoo.
>
>
> Regarding Unicode support I think we can say that Cuis has limited
> Unicode support
>
> 1) It reads and writes files in UTF8
> 2) The clipboard is UTF8
>
> The limitation is that only certain code points are supported
> internally -- actually only 256 of them. Internally the characters are
> 8 bit.
>
> We have the utility method
> Character class>>iso8859s15CodeForUnicodeCodePoint: codePoint
>
> which maps a Unicode code point to the internal coding system
>
> And
> String>>iso8859s15ToUtf8
>         "Convert the given string to UTF-8 from the internal encoding: ISO
> Latin 9 (ISO 8859-15)"
>
>
> To ease porting I suggest to have a Cuis specific
>
>     UTF8TextConverter
>
>
> version in the Compabilitiy layer package.
>
> It will convert the 8859-15 properly. The other Unicode points should
> be replaced with the
> \unnnn notation (JavaScript / Java) or HTML entities ( &#nnn; ).
>
>
>
> Kind regards
>
> Hannes
>


Yes, sound as a good idea.....


-- 
Sincerely,
Germán Arduino
about.me/garduino




More information about the Cuis mailing list