Unicode, the clipboard and LC fields

Fraser Gordon fraser.gordon at runrev.com
Wed Jan 22 12:07:31 EST 2014


On 22 Jan 2014, at 16:55, Richmond <richmondmathewson at gmail.com> wrote:

> I wonder who is going to love me if I suggest that the next release might feature the capability of working out if a textFld contains
> 
> Unicode, ASCII, Macfunny, Windowsfunny, Amigafunny or otherwise?

In 7.0, text is always Unicode (specifically, UTF-16 but this isn't really visible) but may be converted to the native encoding implicitly (and lossily, for characters that don't exist in the native encoding).

There will be functions to convert to specific text encodings but said encoded text is treated as binary data and not a string. For ordinary text (i.e something you didn't encode), everything "just works" and you don't have to care whether it is Unicode or not.

> 
> Ooh, while I'm here; I wonder if the RaspPI or the Android engine would deploy on a RISC machine running RISC OS ???

Given that RiscOS uses a fundamentally different API to either Android or Linux/POSIX, it won't work and a port would be equivalent to adding a whole new platform. The RPi was easy because it is still Linux, just using a different processor (think x86 and PowerPC Macs).

I do remember using RiscOS on Acorn R3000s and R5000s (I think) at primary school and it was an interesting OS (plus, I liked that it was stored in flash ROM and could boot the machine in seconds). I've yet to try it out on the Pi but I should give it a go.

Regards,
Fraser



More information about the use-livecode mailing list