Mark,
You are right that uniencode converts all characters to double-byte,
while UTF8 does so only where necessary. Using uniencode() only work
with most, if not with all, unicode-compatible text editors though,
until you start editing the text in the text editor and find out that
the tex
Mark Schonewille Wrote
If the original string is plain text, you can use uniEncode(theString)
uniEncode returns a double-byte unicode string, not UTF-8.
That is the reason for my use of the encode/decode combination.
I just wanted to be sure that I'm not doing something stupid, because
tha
Mark, is that really so? I thought the uniEncode function will
convert all single-byte characters to double-byte characters - not
UTF8. Is that not what happens?
Best,
Mark
On 25 Jun 2007, at 11:11, Mark Schonewille wrote:
If the original string is plain text, you can use uniEncode(theStr
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:/
Torbjörn, it's the only way, I think, but it seems to be quite
efficient, in my experience - it's never been any kind of bottleneck...
Best,
Mark
On 25 Jun 2007, at 08:34, Torbjörn Nordlindh wrote:
I need to convert some text into UTF-8
This is the easiest way I have found so far:
functio
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
___
use-revolution mailing