Re: Accessing non-binary Unicode properties with std.uni

2020-09-29 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Sep 29, 2020 at 06:14:45PM +, Chloé Kekoa via Digitalmars-d-learn wrote: > On Tuesday, 29 September 2020 at 17:04:51 UTC, H. S. Teoh wrote: > > OTOH, the relevant Unicode data file that contains East_Asian_Width > > data (EastAsianWidth.txt) is relatively straightforward to parse. > >

Re: Accessing non-binary Unicode properties with std.uni

2020-09-29 Thread Chloé Kekoa via Digitalmars-d-learn
On Tuesday, 29 September 2020 at 17:04:51 UTC, H. S. Teoh wrote: OTOH, the relevant Unicode data file that contains East_Asian_Width data (EastAsianWidth.txt) is relatively straightforward to parse. In one of my projects, I wrote a little helper program to parse this file and generate a

Re: Accessing non-binary Unicode properties with std.uni

2020-09-29 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Sep 29, 2020 at 04:22:18PM +, Dukc via Digitalmars-d-learn wrote: > On Monday, 28 September 2020 at 18:23:43 UTC, Chloé Kekoa wrote: > > The documentation of std.uni [1] says that the unicode struct > > provides sets for several binary properties. I am looking for a way > > to query

Re: Accessing non-binary Unicode properties with std.uni

2020-09-29 Thread Dukc via Digitalmars-d-learn
On Monday, 28 September 2020 at 18:23:43 UTC, Chloé Kekoa wrote: The documentation of std.uni [1] says that the unicode struct provides sets for several binary properties. I am looking for a way to query non-binary properties of a character. Is that possible with std.uni or do I need to use a

Accessing non-binary Unicode properties with std.uni

2020-09-28 Thread Chloé Kekoa via Digitalmars-d-learn
The documentation of std.uni [1] says that the unicode struct provides sets for several binary properties. I am looking for a way to query non-binary properties of a character. Is that possible with std.uni or do I need to use a third-party library? I am specifically interested in the