On 6/25/2014, 3:29 PM, Trevor DeVore wrote:
On Wed, Jun 25, 2014 at 3:35 PM, J. Landman Gay <[email protected]>
wrote:


The server wants UTF8 and I think (but am not sure) that I need to get:
  Santer%C3%ADa


Convert the string to UTF8 prior to urlencoding it:

put "SanterĂ­a" into theStr
put unidecode(uniencode(theStr), "utf8") into thestr
put urlencode(theStr)


Thanks (again) Trevor, that seems to do it. I'll see if the server likes that incarnation.

Pierre, the data is going to a Rails script, which does some things and then puts it into a database. I'm not actually sure what type of database it is, but I don't send to it directly.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to