Issue #14839 has been updated by webzorg (Lasha Abulashvili).


Giia (George Pheikrishvili) wrote:
> webzorg (Lasha Abulashvili) wrote:
> > Hey all, I'm from Georgia so I hope I can help. I'm also Ruby dev and I heard about this issue from Akira Matsuda's post on Georgian Ruby Community Facebook page. So as I understood you are trying to handle situation when someone calls strong manipulation methods on Georgian. Georgian as mentioned, is a single case alphabet so, converting Mkhedruli letters to mtavruli ones upon calling .upcase is going against the OOP intuition. upcase, capitalize, lowercase and other methods like these shouldn't do anything to Georgian Unicode because these methods simply do not apply. Let me know if I missed the point and if the problem is something else.
> 
> Lasha, if someone calls *`mkhedruli.upcase`*, all letters shall be converted to Mtavruli letter, why do you think it should not do anything?

I was thinking, maybe because it is misleading, foreigners may think that those are real upcase versions of Georgian letters, but it is totally separate alphabet, and most of even Georgians don't know how to recognize them. Maybe call the method `"".to_mtavruli` ? 

----------------------------------------
Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
https://bugs.ruby-lang.org/issues/14839#change-74398

* Author: duerst (Martin Drst)
* Status: Feedback
* Priority: Normal
* Assignee: duerst (Martin Drst)
* 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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>