I wonder if we usually use Iconv to translate to various encoding?

For example:

Iconv.conv("UTF-8", "BIG-5", content)

or

Iconv.conv("UTF-8", "CP950", content)

or do we  usually use other packages?  One reason is that BIG-5 can
cause an exception while CP950 won't on some content, and both of them
are supposed to be Tradtional Chinese encoding.

by the way,  iconv -l  on the shell will give names of all encodings.
Are they supposed to be usable by the  ruby Iconv library?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to