Why do I still need MacToISO, when working with UTF-8?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Mon Jan 16 12:25:20 EST 2017


Hi Mark,

although i am not the original poster i really appreciate you explanation. 

The only thing what was missing …

It would have been nice if you had also put some sample code for how to UTF8 encode the string.
That would have made your explanations complete. ;)

I am pretty sure there are many on the list who are struggling with that econding part. Or am i the only one?


Regards,
Matthias




> Am 16.01.2017 um 17:41 schrieb Mark Waddingham via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> 
> 
> What you need to do here is explicitly UTF8 encode theName before passing it to URLEncode, then explicitly decode it as UTF8 on the PHP side (or set a property in PHP which changes the default assumption about URLs - I apologise for not being more accurate here, my knowledge of PHP is a little stale these days!).
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com <mailto:mark at livecode.com> ~ http://www.livecode.com/ <http://www.livecode.com/>
> LiveCode: Everyone can create apps
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list