Best way to read/write Chinese (GBK/GB18030) files?
Steven Schveighoffer
schveiguy at gmail.com
Mon Mar 13 15:50:37 UTC 2023
On 3/12/23 8:32 PM, zjh wrote:
> On Sunday, 12 March 2023 at 20:03:23 UTC, 0xEAB wrote:
>> ...
>
> Thank you for your reply, but is there any way to output `gbk` code to
> the console?
>
What is required is an addition to the `std.encoding` module, to allow
such an encoding.
Encodings are simply translating some encoding (e.g. utf) to another
(e.g. gbk). If you look at `std.encoding` you can get an idea of what it
might require.
It will take some effort and especially some help from a knowledgeable
user (such as yourself).
-Steve
More information about the Digitalmars-d-learn
mailing list