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

zjh fqbqrr at 163.com
Thu Mar 23 01:23:17 UTC 2023


On Wednesday, 22 March 2023 at 15:23:42 UTC, Kagamin wrote:
> https://dlang.org/phobos/std_stdio.html#rawWrite


It's really amazing, it succeeded. Thank you!
```cpp
     auto b="test.txt";//gbk
     void[]d=read(b);
     stdout.rawWrite(d);
```



More information about the Digitalmars-d-learn mailing list