UTF8 and hand crafting styles

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Apr 19 17:04:44 EDT 2009


Hi David,

As far as I know, a unicode stream doesn't contain any formatting data  
at all. That means that formatting unicode directly text is impossible.

I don't think that anything is actually lost when converting unicode  
text from and to htmlText, but there may be a few bugs. There are a  
few bugs in conversion to RTF text, with regard to the size of the  
text and colours (although the colours bug may have been fixed  
already). I can imagine that there are similar bugs in the conversion  
to and from htmlText.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Simple, inexpensive, reliable web hosting. €11/year.
http://economy-x-talk.com/server.html

On 19 apr 2009, at 22:50, David Bovill wrote:

> 2009/4/19 Mark Schonewille <m.schonewille at economy-x-talk.com>
>
> yeah - that's what I'm thinking... its just that this would involve  
> putting
> the text into the field - retrieving it as htmltxt - then  
> manipulating it
> and setting the htmltext - so my two questions are:
>
>   1. is it any harder to add teh formatting direct to the utf/8 or  
> utf16 as
>   comared to doig the same to htmltext?
>   2. Is anything at all lost in converting to htmltext and then back  
> to
>   UTF16?




More information about the use-livecode mailing list