Charset problems passing foreign chars to PHP/MySQL from Mac

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Sep 6 11:10:42 EDT 2008


I think I got it:

put urlencode(unidecode(uniencode("Rhône"),"UTF8"))

--
Best regards,

Mark Schonewille

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

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 6 sep 2008, at 16:20, rgould8 at aol.com wrote:

>
> I've already tried MacToISO, but it doesn't convert "Rhône" to the  
> right character-encoding:
>
>
> put MactoISO("Rhône") returns "RhÙne"
>
>
>
>
> whereas I need to convert "Rhône" to "Rh%C3%B4ne" in order to pass  
> it to PHP/MySQL and get it to successfully save.
>
> Is there something else I need to do in Revolution (in httpheaders  
> perhaps?) to ensure that data gets passed in UTF8 format?
>





More information about the use-livecode mailing list