Japanese chars in HTML result [WAS: tips on posting an url and reading the results]

Bob Sneidar bobs at twft.com
Fri Feb 3 23:51:40 EST 2012


Just a shot in the dark but isn't Japanese a double byte language? Richmond has some experience working with that...

Bob Sneidar
IT Manager
Calvary Chapel CM
Sent from iPhone

On Feb 3, 2012, at 20:22, Nicolas Cueto <niconiko at gmail.com> wrote:

> Hello again,
> 
> First, many thanks to Mike Bonner for the google book api. Spent an
> interesting 24-hours learning about it. And, as Mike said, the api
> result is much easier to filter.
> 
> Except for one thing. Handling Japanese text.
> 
> The Japanese text appears fine if I use a google api url with my
> Chrome browser, copy the results directly from the browser window, and
> then paste from the LC IDE into a field-object.
> 
> But if I use the same url in a script like this:
> 
>   put "https://www.googleapis.com/books/ETC"  into tURL
>   get url tURL
>   put it into field X
> 
> then the Japanese text gets garbled, with the rest of the text fine.
> 
> Any ideas how I can get my script to work with Japanese text as nicely
> as simply copy-pasting?
> 
> Thanks.
> --
> Nicolas Cueto
> 
> _______________________________________________
> use-livecode mailing list
> 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