From: Victor Shepelev Date: 2006-06-14T16:29:15+09:00 Subject: Re: Unicode roadmap? From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org] Sent: Wednesday, June 14, 2006 10:20 AM > In message "Re: Unicode roadmap?" > on Wed, 14 Jun 2006 15:56:02 +0900, "Victor Shepelev" > writes: > > |> Can you show us your > |> concrete problems caused by Ruby's lack of "proper" Unicode support? > | > |As mentioned in this topic, it's String#length, upcase, downcase, > |capitalize. > > OK. Case is the problem. I understand. > > |BTW, does String#length works good for you? > > I don't remember the last time I needed length method to count > character numbers. Actually I don't count string length at all both > in bytes and characters in my string processing. Maybe this is a > special case. I am too optimized for Ruby string operations using > Regexp. I can confirm. But I'm afraid that some libraries I rely on use #length and can break when #length doesn't work. > |Oh, it's a bit hard theme for me. I know Windows XP must support Unicode > |file names; I see my filenames in Russian, but I have low knowledge of > |system internals to say, are they really Unicode? > > Windows 32 path encoding is a nightmare. Our Win32 maintainers often > troubled by unexpected OS behavior. I am sure we _can_ handle Russian > path names, but we need help from Russian people to improve. In Russian encoding (Win-1251) and on Russian PC all works well. In Unicode it doesn't, but I'm not convinced it must. In any case, I'm ready to spend my time helping Ruby community (especially in Russian/Ukrainian localization issues), because I really love the language. V.