[ruby-core:63483] Re: [ruby-trunk - Feature #10002] String swapcase

From: Zachary Scott <e@...>
Date: 2014-07-02 01:47:37 UTC
List: ruby-core #63483
We should delegate to @_emboss_ everytime we need to convert =C3=9F...

> On Jul 1, 2014, at 5:09 PM, [email protected] wrote:
> 
> Issue #10002 has been updated by Yukihiro Matsumoto.
> 
> 
> The current implementation of case conversion methods in String class onl=
y understands ASCII characters.
> We'd like to enhance it when possible.  But we have to know how each char=
acter should be converted.
> For example, how should we convert "=C3=9F" (eszett)?
> 
> Matz.
> 
> 
> ----------------------------------------
> Feature #10002: String swapcase
> https://bugs.ruby-lang.org/issues/10002#change-47522
> 
> * Author: Andreas Runk
> * Status: Open
> * Priority: Normal
> * Assignee: 
> * Category: 
> * Target version: 
> ----------------------------------------
> Hi, the ruby version 2.1.2 has a problem with the .swapcase function and =
german letters. 
> E.g. `"=C3=A4".swapcase` does return "=C3=A4" but should be "=C3=84". 
> 
> 
> 
> -- 
> https://bugs.ruby-lang.org/

In This Thread

Prev Next