Text encoding problem

Björnke von Gierke bvg at mac.com
Sat Dec 5 22:20:52 EST 2009


wow, that's some devilishly encoded stuff!

this will create it:
put urlencode(unidecode(uniencode(isotomac("Güstrow")),"utf8"))

of which the inverse would be:

put mactoiso(unidecode(uniencode(urldecode("G%C5%B8strow"),"utf8")))

or you could combine them...

put mactoiso(unidecode(uniencode(urldecode(urlencode(unidecode 
(uniencode(isotomac("Güstrow")),"utf8"))),"utf8")))



On 6 Dec 2009, at 03:50, David Bovill wrote:

> How do I convert the following text "Güstrow" to "G%C5%B8strow"?  
> Kind of
> stuck :(



-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev"




More information about the use-livecode mailing list