From: nobu.nokada@... Date: 2004-10-25T10:50:15+09:00 Subject: Re: UTF-8 strings? Hi, At Mon, 25 Oct 2004 10:19:08 +0900, Julik Tarkhanov wrote in [ruby-talk:117548]: > Some very simple one-liners with my name written in russian yield > exceptionally faulty results (ranging from nils to non-displayable > characters). I get wrong results from downcase and index lookup, among > others. If Ruby cannot do these things with strings I cannot use it for any > real-life projects. PHP was ugly but the mbstring extension was doing all > the job for me there. Run ruby with -Ku option if your scripts are written in UTF-8, or set $KCODE to 'u'. -- Nobu Nakada