Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using iconv installed with macports as well as the default iconv that comes with OSX. I want to use a certain encoding - sjis-win, which is not one of the supported encodings. On Linux, there are many more supported encodings.

So I am wondering if I need to reinstall iconv or if there is a way to enable more encodings.

share|improve this question
up vote 3 down vote accepted

OS X 10.6's system-provided iconv does have the sjis-win encoding, but it's not aliased to that name.

On FreeBSD:

$ iconv -l | grep -i sjis-win

Those are all the aliases of sjis-win. We see that this encoding is also known as code page 932. So on OS X:

$ iconv -l | grep 932

The version of iconv included in OS X does have the sjis-win encoding, but you need to refer to it as cp932 because that's the only alias listed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.