From: duerst@... Date: 2018-12-10T04:41:25+00:00 Subject: [ruby-core:90392] [Ruby trunk Feature#14839][Closed] How to deal with capitalizing Georgian in Unicode 11.0.0 Issue #14839 has been updated by duerst (Martin D��rst). Status changed from Feedback to Closed I have implemented this so that `String#capitalize` on Georgian text produces all-lowercase results. This means that formally, `'string'.capitalize` can be defined as `'string'.downcase.capitalize`. This means that for Georgian text, `s.downcase.capitalize == s.upcase.capitalize` (but as noted above (https://bugs.ruby-lang.org/issues/14839#note-21), not for Ruby in general). Also, this means Ruby behaves different from Python. The reason for this is mainly that e.g. `"This is an IMPORTANT sentence.".capitalize` results in `"This is an important sentence."`, and this should work in Georgian, too. A second (and secondary) reason is that implementation was actually easier, because only the first character of the string needs separate behavior for Georgian. ---------------------------------------- Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0 https://bugs.ruby-lang.org/issues/14839#change-75516 * Author: duerst (Martin D��rst) * Status: Closed * Priority: Normal * Assignee: duerst (Martin D��rst) * Target version: ---------------------------------------- This is a request for feedback. In particular if you are from Georgia (the country, not the US state), or if you know somebody (who knows somebody,...) from Georgia, feedback on this issue is very much appreciated. If I don't get any feedback, I'll precede as explained below. Unicode 11.0.0 introduces an upper-case version of present-day Georgian letters called Mtavruli (the lower case letters are called Mkhedruli). Mtavruli letters are only used to empthasize whole words; there is no initial-letter capitalization in Georgian. Therefore, the Mkhedruli letters do not have Mtavruli letters as their titlecase, but are explicitly mapped to themselves. This means that in Ruby, `mkhedruli.capitalize` would be a no-op although `mkhedruli.upcase` would convert to Mtavruli letters. Additional pointers: http://www.unicode.org/versions/Unicode11.0.0/#Migration http://www.unicode.org/charts/PDF/Unicode-11.0/U110-1C90.pdf http://www.unicode.org/versions/Unicode11.0.0/ch07.pdf (Section 7.7, Georgian, pp. 320-321) -- https://bugs.ruby-lang.org/ Unsubscribe: