Forum: Ruby on Rails do we usually use Iconv to do translate to various encodings

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jian L. (Guest)
on 2009-05-11 13:04
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?
This topic is locked and can not be replied to.