From: "perry (Perry Metzger)" Date: 2012-04-05T11:39:04+09:00 Subject: [ruby-core:44139] [ruby-trunk - Bug #6260][Open] Relationship of collating sequence to === and <=> for Strings not documented Issue #6260 has been reported by perry (Perry Metzger). ---------------------------------------- Bug #6260: Relationship of collating sequence to === and <=> for Strings not documented https://bugs.ruby-lang.org/issues/6260 Author: perry (Perry Metzger) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0] Collating sequences are mentioned in the documentation for the class String only in reference to the "succ" method, and only in passing. It appears that Ruby also pays attention to collating sequences in range membership testing, possibly even elsewhere. It would be very nice if the precise behavior was documented. Also, given that at least "succ" knows about collating sequences, it would be nice if the documentation explained how collating sequences are derived. Is language specific ordering in use? If so, where is the language determined? Does it in any way involve the language specified in the LANG environment variable or does it come from somewhere else? None of this is explained in the documentation. -- http://bugs.ruby-lang.org/