how to get a list of valid Iconv encodings in Ruby 1.9.1 under windows 7?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The list is not maintained by Ruby so you can’t do it from Ruby. Ruby simply uses whatever iconv you’ve installed on the system. If you have the full iconv installation, you can get the list from iconv like,
If you just have the library (iconv.dll), there is no way to get the list.
Most implementation is based on GNU iconv and the list is very static. You can just go to any Linux machine and type “iconv -l” to get the list.