- 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-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/35528a1c-bcd7-4871-a3f8-161525cf6c62%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BJnYMG-ceqti3dKyKZQBwQyWNqiLH01Kanw7tCtFytfgA%40mail.gmail.com.
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> wrote:
--
- 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.
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> 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> wrote:
--
- 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/35528a1c-bcd7-4871-a3f8-161525cf6c62%40googlegroups.com.
--
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.