[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 ß...

> On Jul 1, 2014, at 5:09 PM, matz@ruby-lang.org wrote:
> 
> Issue #10002 has been updated by Yukihiro Matsumoto.
> 
> 
> The current implementation of case conversion methods in String class only understands ASCII characters.
> We'd like to enhance it when possible.  But we have to know how each character should be converted.
> For example, how should we convert "ß" (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. `"ä".swapcase` does return "ä" but should be "Ä". 
> 
> 
> 
> -- 
> https://bugs.ruby-lang.org/

In This Thread

Prev Next