>From that issue https://github.com/elixir-lang/elixir/issues/7105 and how `String.downcase/2` work, I thought it is like "These languages work the same way it would but have very tiny differences.". So, I thought it would be proper to add this. Sorry for unnecessary question. :) Have a nice day.
28 Mart 2020 Cumartesi 22:28:12 UTC+3 tarihinde José Valim yazdı: > > So we don't support the locale specific sections of Unicode and we leave > that for third party libraries. That's because proper support is actually > quite complex, as some languages may take grammar rules into account when > applying downcasing/uppercase. So those scenarios are best handled by > specific purposes libraries. > > On Sat, Mar 28, 2020 at 7:18 PM Andrea Leopardi <an.le...@gmail.com > <javascript:>> wrote: > >> Hey Cemre, >> >> > "ı" will be "I" >> >> This is already the case. You can try String.upcase("ı") == "I". >> >> In any case, Elixir uses the Unicode standard to do upcasing and >> downcasing. Do other languages that support Unicode behave differently for >> these letters? >> >> Andrea >> >> On Sat, Mar 28, 2020 at 6:02 PM Cemre Aşar <cemre...@gmail.com >> <javascript:>> wrote: >> >>> >>> 1. I tried to do that but my knowledge of Elixir couldn't help me. >>> :) The only thing swill be done are, in `String.upcase/2`, "i" will be >>> "İ" >>> and "ı" will be "I", in `String.downcase/2`, "İ" will be "i" and "I" >>> will >>> be "ı". I thought it would be something like `String.upcase "i", >>> :turkish` >>> but if you folks have a better way, I'm totally open to it. :) Thanks >>> for >>> interesting and have a nice day. :) >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "elixir-lang-core" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to elixir-l...@googlegroups.com <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/elixir-lang-core/35528a1c-bcd7-4871-a3f8-161525cf6c62%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/elixir-lang-core/35528a1c-bcd7-4871-a3f8-161525cf6c62%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "elixir-lang-core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to elixir-l...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BJnYMG-ceqti3dKyKZQBwQyWNqiLH01Kanw7tCtFytfgA%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BJnYMG-ceqti3dKyKZQBwQyWNqiLH01Kanw7tCtFytfgA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/8f2cc344-3bbb-4973-ad8d-d910477a5673%40googlegroups.com.