Bartosz Dziewoski wrote in post #1017168:
> - let me cite the relevant part:
>
>> Other languages, such as Java and Python, solve this problem by encodeing every
> String that enters the language as UTF-8 (or UTF-16). [...]
>>
>> However, this solution does not work very well for the Japanese community. For a
> variety of complicated reasons, Japanese encoding, such as SHIFT-JIS,
> are not
> considered to losslessly encode into UTF-8. As a result, Ruby has a
> policy of not
> attempting to simply encode any inbound String into UTF-8.

Except that even ruby 1.9 cannot handle SHIFT-JIS (it's a stateful encoding)