Best way to read/write Chinese (GBK/GB18030) files?

0xEAB desisma at heidel.beer
Sat Mar 11 19:56:09 UTC 2023


On Friday, 10 March 2023 at 07:16:32 UTC, zjh wrote:
> `D language` is too unfriendly for Chinese users!
> You can't even write `gbk` files.

D’s char + string types are Unicode.
To quote the tour, “In D, *all* strings are Unicode strings”.

If you desire to use other encodings, how about using ubyte + 
ubyte[]?


More information about the Digitalmars-d-learn mailing list