[#35446] [Ruby 1.9 - Bug #4477][Open] Kernel:exec and backtick (`) don't work for certain system commands — Joachim Wuttke <j.wuttke@...>

10 messages 2011/03/07

[#35476] [Ruby 1.9 - Bug #4489][Open] [PATCH] Encodings with /-(unix|dos|mac)\Z/ — "James M. Lawrence" <quixoticsycophant@...>

20 messages 2011/03/10

[#35552] [Ruby 1.9 - Feature #4523][Open] Kernel#require to return the path of the loaded file — Alex Young <alex@...>

14 messages 2011/03/24

[#35565] [Ruby 1.9 - Feature #4531][Open] [PATCH 0/7] use poll() instead of select() in certain cases — Eric Wong <normalperson@...>

33 messages 2011/03/28

[#35566] [Ruby 1.9 - Feature #4532][Open] [PATCH] add IO#pread and IO#pwrite methods — Eric Wong <normalperson@...>

12 messages 2011/03/28

[#35586] [Ruby 1.9 - Feature #4538][Open] [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O — Eric Wong <normalperson@...>

9 messages 2011/03/29

[ruby-core:35524] Re: [Feature #2350](Rejected) Unicode specific functionality on String in 1.9

From: Magnus Holm <judofyr@...>
Date: 2011-03-18 10:53:56 UTC
List: ruby-core #35524
The problem is that the definition of #upcase doesn't only depend on the
encoding used, but also the language of the encoded text. For instance, if
you're writing in Turkish, you would expect "i".upcase to return a dotted
uppcase I: http://www.i18nguy.com/unicode/turkish-i18n.html

<http://www.i18nguy.com/unicode/turkish-i18n.html>Doing this properly is
*really* hard and needs to have a lot of flexibility, especially when it
comes to non-Western languages. It's far easier for everyone that the
built-in #upcase is simple and fast and you'll have to be explicit about an=
y
other I18n stuff IMO.

// Magnus Holm


On Fri, Mar 18, 2011 at 11:19, Nikolai Weibull <now@bitwi.se> wrote:

> On Thu, Mar 25, 2010 at 19:33, Nikolai Weibull <now@bitwi.se> wrote:
> > On Thu, Mar 25, 2010 at 18:24, NARUSE, Yui <naruse@airemix.jp> wrote:
> >> (2010/03/26 0:02), Nikolai Weibull wrote:
>
> > I was wondering if there was a way to do it without having to do
> >
> > String.new.unicodify.upcase
>
> >> But I think, people want both ASCII version and Unicode version of
> upcase.
> >> So you should name your Unicode methods another names.
>
> > Why would they want that?  Having an ASCII-only version of #upcase
> > makes no sense for a Unicode String more than supporting #upcase
> > requires that you load the Unicode character database information,
> > which takes up quite a lot of memory.
>
> So, what=E2=80=99s the reasoning here?  Having "=C3=A4bc".upcase return "=
=C3=A4BC" makes
> absolutely no sense and means that quite a few methods on String are
> completely useless in a m18n context.
>
>

In This Thread