From: "NAKAMURA, Hiroshi" Date: 2005-05-29T23:10:44+09:00 Subject: Re: Google API, Soap and windows XP -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Sorry for late reply. ruby talk wrote: > I am playing with the google api and soap. I have the newest version > of soap and i think ruby 1.8. I created my code on a laptop with > mandrake 10.2 with the same version of ruby and soap. On my laptop it > works fine. On my windows computer it give me an error. > "F:\Documents and Settings\iv\Desktop\googlerip>ruby googled.rb > monkey filetype: > pdf > Loading compatibility library... > c:/ruby/lib/ruby/1.8/xsd/datatypes.rb:172:in `_set': {http://www.w3.org/2001/XML > Schema}string: cannot accept '... Tibetan year of the monkey. Thes > e instructions are traditionally given ...
thus will give the rare ? > 盃Monkey-Year-Teachings?盃 after the inauguration in ...'. (XSD::V > alueSpaceError) Hmm. Would you please tell me what will be happened if you run your client with $KCODE = 'UTF8' ? Please do one of this. 1. run ruby interpreter with -Ku option (ruby -Ku googled.rb) 2. add '$KCODE = "UTF8"' line at the head of googled.rb Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFCmc1Cf6b33ts2dPkRAii3AJ9Rwu134H5sL34cOo6OnCZEsrSG/QCfY+q3 i3+coJz5X0UCWsmjblUSYKc= =OZVr -----END PGP SIGNATURE-----