The Case Against Autodecode
ag0aep6g via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 2 14:27:06 PDT 2016
On 06/02/2016 11:24 PM, ag0aep6g wrote:
> They're simply not possible. Won't compile. There is no single UTF-8
> code unit for 'ö', so you can't (easily) search for it in a range for
> code units. Just like there is no single code point for 'a⃗' so you can't
> search for it in a range of code points.
>
> You can still search for 'a', and 'o', and the rest of ASCII in a range
> of code units.
I'm ignoring combining characters there. You can search for 'a' in code
units in the same way that you can search for 'ä' in code points. I.e.,
more or less, depending on how serious you are about combining characters.
More information about the Digitalmars-d
mailing list