N
NewtonApple
Hello, has anyone used Chinese with Ruby? I'm trying to write a
script that would import/export my lyrics from/to lyricwiki.org.
Since they don't have a lot of Chinese lyrics, I thought I'd help them
out by exporting my collection. Looking at their SOAP API wiki
(http://lyricwiki.org/LyricWiki:SOAP), they seem have some troubles
encoding and decoding Unicode characters using Ruby's soap/
wsdlDriver. I tried to run my songs' meta data through rubyosa. But
I have no luck.
Here's a few songs I've tried out by copy-pasting the artist and song
names into the source and fetching the lyrics:
http://lyricwiki.org/Category:Language/Cantonese.
And here is a simple script, I've been testing with (w/ RubyOSA):
http://pastie.caboo.se/141454
My system is running on MacOS Leopard, Ruby 1.8.6. Thanks in advance
for all your help!
David
script that would import/export my lyrics from/to lyricwiki.org.
Since they don't have a lot of Chinese lyrics, I thought I'd help them
out by exporting my collection. Looking at their SOAP API wiki
(http://lyricwiki.org/LyricWiki:SOAP), they seem have some troubles
encoding and decoding Unicode characters using Ruby's soap/
wsdlDriver. I tried to run my songs' meta data through rubyosa. But
I have no luck.
Here's a few songs I've tried out by copy-pasting the artist and song
names into the source and fetching the lyrics:
http://lyricwiki.org/Category:Language/Cantonese.
And here is a simple script, I've been testing with (w/ RubyOSA):
http://pastie.caboo.se/141454
My system is running on MacOS Leopard, Ruby 1.8.6. Thanks in advance
for all your help!
David