ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:69666] [Ruby trunk - Bug #11284] [Open] String#upcase and String#downcase don't work for accented characters
       [not found] <redmine.issue-11284.20150618202012@ruby-lang.org>
@ 2015-06-18 20:20 ` pablodherrero
  2015-06-18 22:26 ` [ruby-core:69668] [Ruby trunk - Bug #11284] " 0x0dea+redmine
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pablodherrero @ 2015-06-18 20:20 UTC (permalink / raw)
  To: ruby-core

Issue #11284 has been reported by Pablo Herrero.

----------------------------------------
Bug #11284: String#upcase and String#downcase don't work for accented characters
https://bugs.ruby-lang.org/issues/11284

* Author: Pablo Herrero
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most common are the ones I keep stumbling upon,, but probably other germanic/nordic characters I'm not aware of have the same problems.

For example:

    "Hola, ¿Cómo estás?".upcase         # returns "HOLA, ¿CóMO ESTáS?"
    "CONFIANÇA".downcase                # returns "confianÇa"
    "Un moment s'il vous plaît".upcase  # returns "UN MOMENT S'IL VOUS PLAîT"



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:69668] [Ruby trunk - Bug #11284] String#upcase and String#downcase don't work for accented characters
       [not found] <redmine.issue-11284.20150618202012@ruby-lang.org>
  2015-06-18 20:20 ` [ruby-core:69666] [Ruby trunk - Bug #11284] [Open] String#upcase and String#downcase don't work for accented characters pablodherrero
@ 2015-06-18 22:26 ` 0x0dea+redmine
  2015-06-19  8:12 ` [ruby-core:69676] [Ruby trunk - Bug #11284] [Closed] " duerst
  2015-06-30  3:22 ` [ruby-core:69788] [Ruby trunk - Bug #11284] [Rejected] " usa
  3 siblings, 0 replies; 4+ messages in thread
From: 0x0dea+redmine @ 2015-06-18 22:26 UTC (permalink / raw)
  To: ruby-core

Issue #11284 has been updated by D.E. Akers.


http://stackoverflow.com/a/4418681

It would be unreasonable to add natural language processing to Ruby for the sake of a few methods, and it's easy to argue the case for not doing it at all over doing it incorrectly.

----------------------------------------
Bug #11284: String#upcase and String#downcase don't work for accented characters
https://bugs.ruby-lang.org/issues/11284#change-53028

* Author: Pablo Herrero
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most common are the ones I keep stumbling upon,, but probably other germanic/nordic characters I'm not aware of have the same problems.

For example:

    "Hola, ¿Cómo estás?".upcase         # returns "HOLA, ¿CóMO ESTáS?"
    "CONFIANÇA".downcase                # returns "confianÇa"
    "Un moment s'il vous plaît".upcase  # returns "UN MOMENT S'IL VOUS PLAîT"



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:69676] [Ruby trunk - Bug #11284] [Closed] String#upcase and String#downcase don't work for accented characters
       [not found] <redmine.issue-11284.20150618202012@ruby-lang.org>
  2015-06-18 20:20 ` [ruby-core:69666] [Ruby trunk - Bug #11284] [Open] String#upcase and String#downcase don't work for accented characters pablodherrero
  2015-06-18 22:26 ` [ruby-core:69668] [Ruby trunk - Bug #11284] " 0x0dea+redmine
@ 2015-06-19  8:12 ` duerst
  2015-06-30  3:22 ` [ruby-core:69788] [Ruby trunk - Bug #11284] [Rejected] " usa
  3 siblings, 0 replies; 4+ messages in thread
From: duerst @ 2015-06-19  8:12 UTC (permalink / raw)
  To: ruby-core

Issue #11284 has been updated by Martin Dürst.

Status changed from Open to Closed

Closing because this is being worked on (slowly) as #10085, which is already accepted.

----------------------------------------
Bug #11284: String#upcase and String#downcase don't work for accented characters
https://bugs.ruby-lang.org/issues/11284#change-53046

* Author: Pablo Herrero
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most common are the ones I keep stumbling upon,, but probably other germanic/nordic characters I'm not aware of have the same problems.

For example:

    "Hola, ¿Cómo estás?".upcase         # returns "HOLA, ¿CóMO ESTáS?"
    "CONFIANÇA".downcase                # returns "confianÇa"
    "Un moment s'il vous plaît".upcase  # returns "UN MOMENT S'IL VOUS PLAîT"



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:69788] [Ruby trunk - Bug #11284] [Rejected] String#upcase and String#downcase don't work for accented characters
       [not found] <redmine.issue-11284.20150618202012@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-06-19  8:12 ` [ruby-core:69676] [Ruby trunk - Bug #11284] [Closed] " duerst
@ 2015-06-30  3:22 ` usa
  3 siblings, 0 replies; 4+ messages in thread
From: usa @ 2015-06-30  3:22 UTC (permalink / raw)
  To: ruby-core

Issue #11284 has been updated by Usaku NAKAMURA.

Status changed from Closed to Rejected

This status "rejected" does not mean this report is rejected.
This change is only to unify the tickets.

----------------------------------------
Bug #11284: String#upcase and String#downcase don't work for accented characters
https://bugs.ruby-lang.org/issues/11284#change-53169

* Author: Pablo Herrero
* Status: Rejected
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most common are the ones I keep stumbling upon,, but probably other germanic/nordic characters I'm not aware of have the same problems.

For example:

    "Hola, ¿Cómo estás?".upcase         # returns "HOLA, ¿CóMO ESTáS?"
    "CONFIANÇA".downcase                # returns "confianÇa"
    "Un moment s'il vous plaît".upcase  # returns "UN MOMENT S'IL VOUS PLAîT"



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-30  2:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-11284.20150618202012@ruby-lang.org>
2015-06-18 20:20 ` [ruby-core:69666] [Ruby trunk - Bug #11284] [Open] String#upcase and String#downcase don't work for accented characters pablodherrero
2015-06-18 22:26 ` [ruby-core:69668] [Ruby trunk - Bug #11284] " 0x0dea+redmine
2015-06-19  8:12 ` [ruby-core:69676] [Ruby trunk - Bug #11284] [Closed] " duerst
2015-06-30  3:22 ` [ruby-core:69788] [Ruby trunk - Bug #11284] [Rejected] " usa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).