convert to UTF-8

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Jun 25 06:11:10 EDT 2007


Hi Torbjörn,

If the original string is plain text, you can use uniEncode(theString)

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http;//www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 25-jun-2007, om 9:34 heeft Torbjörn Nordlindh het volgende  
geschreven:

> I need to convert some text into UTF-8
>
> This is the easiest way I have found so far:
>
> function utf8Encode theString
>   return uniDecode(uniEncode(theString),"UTF8")
> end utf8Encode
>
> Is there any better way to do this?
>
> Torbjörn




More information about the use-livecode mailing list