On Sun, Jun 27, 2010 at 02:38:17AM -0400, "Benjamin R. Haskell" 
<[email protected]> wrote:
> Your commented-out code was close.  I think you want locale_decode 
> instead of locale_encode.

I don't know anything about google webservices (and this is unlikely to have
anything to do with urxvt, which expects unicode), but I somehow don't
believe that google delivers text in your local encoding (how would it know
:).

My guess is that the webservice expects utf-8 and wants utf-8, so as rxvt
delivers and epxects text in unicode, you first have to encode/decode
to/from utf-8, using e.g. the Encode module.

But again, I don't know what encoding WebService::Google::Language
expects, but it will almostc etrainly not match your local encoding except
by chance.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to