>>>>> "D" == Dave Thomas <Dave / thomases.com> writes: D> In the email, 8859-1. In the environment where I ran the Ruby script, D> the locale was POSIX. ruby was perhaps compiled with DEFAULT_KCODE == KCODE_EUC rather than with KCODE_NODE perhaps this can explain the result, no ? Guy Decoux