Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Salih Dincer via Digitalmars-d-learn
On Sunday, 1 August 2021 at 18:22:05 UTC, Paul Backus wrote: A common solution to this in other languages is to have a version of toUpper that takes a locale as an argument. Some examples: - Javascript:

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Salih Dincer via Digitalmars-d-learn
On Sunday, 1 August 2021 at 18:22:05 UTC, Paul Backus wrote: On Sunday, 1 August 2021 at 17:56:00 UTC, rikki cattermole wrote: It appears you are using the wrong lowercase character. I think so too, here's the proof: ```d import std.string, std.stdio; void main() { auto istanbul =

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread Paul Backus via Digitalmars-d-learn
On Sunday, 1 August 2021 at 17:56:00 UTC, rikki cattermole wrote: It appears you are using the wrong lowercase character. https://en.wikipedia.org/wiki/Dotted_and_dotless_I From a quick experiment, it appears std.uni is treating the upper case dotted I's lower case as a grapheme. Which it

Re: GREETINGS FROM iSTANBUL

2021-08-01 Thread rikki cattermole via Digitalmars-d-learn
It appears you are using the wrong lowercase character. https://en.wikipedia.org/wiki/Dotted_and_dotless_I From a quick experiment, it appears std.uni is treating the upper case dotted I's lower case as a grapheme. Which it probably shouldn't be as there is an actual character for that. We