Re: How to print unicode characters (no library)?
Kagamin via Digitalmars-d-learn Mon, 27 Dec 2021 01:31:02 -0800
D strings are plain arrays without any text-specific logic, the
element is called code unit, which has a fixed size, and the
array length specifies how many elements are in the array. This
model is most adequate for memory correctness, i.e. it shows what
takes how much memory and where it will fit. D doesn't impose
fixed interpretations like characters or code points, because
there are many of them and neither is the correct one, you need
one or another in different situations. Linux console one example
of such situation: it doesn't accept characters or code points,
it accepts utf8 code units, using anything else is an error.
- How to print unicode characters (no l... rempas via Digitalmars-d-learn
- Re: How to print unicode charact... Adam Ruppe via Digitalmars-d-learn
- Re: How to print unicode cha... max haughton via Digitalmars-d-learn
- Re: How to print unicode... H. S. Teoh via Digitalmars-d-learn
- Re: How to print unicode... rempas via Digitalmars-d-learn
- Re: How to print uni... Kagamin via Digitalmars-d-learn
- Re: How to print unicode cha... rempas via Digitalmars-d-learn
- Re: How to print unicode... Kagamin via Digitalmars-d-learn
- Re: How to print uni... rempas via Digitalmars-d-learn
- Re: How to prin... Adam D Ruppe via Digitalmars-d-learn
- Re: How to ... H. S. Teoh via Digitalmars-d-learn
- Re: How to ... Adam D Ruppe via Digitalmars-d-learn
- Re: How... H. S. Teoh via Digitalmars-d-learn
- Re: How to ... rempas via Digitalmars-d-learn
- Re: How... Adam D Ruppe via Digitalmars-d-learn
- Re: How... rempas via Digitalmars-d-learn
- Re: How to prin... Kagamin via Digitalmars-d-learn
- Re: How to ... rempas via Digitalmars-d-learn