Re: UrlEncode oddness

2012-03-22 Thread J. Landman Gay
On 3/22/12 6:50 PM, Mark Schonewille wrote: Hi Jacque, Do you mean that the syntax I posted produced different results on OSX and iOS? That could be a bug. What happens if you just try to open the UTF-8 encoded URL on iOS (without urlEncoding it). I've tried both, and several other things too

Re: UrlEncode oddness

2012-03-22 Thread Mark Schonewille
Hi Jacque, Do you mean that the syntax I posted produced different results on OSX and iOS? That could be a bug. What happens if you just try to open the UTF-8 encoded URL on iOS (without urlEncoding it). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Hom

Re: UrlEncode oddness

2012-03-22 Thread J. Landman Gay
On 3/22/12 6:24 PM, Mark Schonewille wrote: Hi Jacque, I should point out that we need control over the way we encode our URL's. The default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and Latin-

Re: UrlEncode oddness

2012-03-22 Thread Mark Schonewille
Hi Jacque, I should point out that we need control over the way we encode our URL's. The default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and Latin-1 encoded URL's. So, no, you don't want url

Re: UrlEncode oddness

2012-03-21 Thread J. Landman Gay
On 3/21/12 3:39 PM, Mark Schonewille wrote: Jacque, put urlencode(unidecode(uniencode("élan"),"UTF8")) Thanks. I tried a few things with uniencode before posting but I must not have hit on the right combination. This works. Seems like urlencode should just do this for us. -- Jacqueline Lan

Re: UrlEncode oddness

2012-03-21 Thread Bob Sneidar
I am going to guess and say that the second one is also uniencoded. I think that because it appears that there are 2 characters being URLEncoded there. Bob On Mar 21, 2012, at 1:28 PM, J. Landman Gay wrote: > If I urlencode a word with diacritcals, like "élan", I get this: > > %8Elan > > Bu

Re: UrlEncode oddness

2012-03-21 Thread Mark Schonewille
Jacque, put urlencode(unidecode(uniencode("élan"),"UTF8")) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode her

UrlEncode oddness

2012-03-21 Thread J. Landman Gay
If I urlencode a word with diacritcals, like "élan", I get this: %8Elan But if I name a file with that and get a Dropbox encoded URL, I get this: %C3%A9lan I need the Dropbox version. What's the difference, and how come it happens, and how do I change LiveCode's output? -- Jacqueline Landma