How to know whether a file's encoding is ansi or utf8?
Sam Hu via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jul 22 03:00:10 PDT 2014
On Tuesday, 22 July 2014 at 09:50:00 UTC, Sam Hu wrote:
> Greetings!
>
> As subjected,how can I know whether a file is in UTF8 encoding
> or ansi?
>
> Thanks for the help in advance.
>
> Regards,
> Sam
Sorry,I mean by by code,for example,when I try to read a file
content and printed to a text control in GUI,or to console,will
proceed differently regarding file encoding.
More information about the Digitalmars-d-learn
mailing list