Is there a native function to detect if file is UTF encoding?

MacAsm via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 22 06:53:03 PDT 2014


To call decode() from std.encoding I need to make sure it is an 
UTF (may ne ASCII too) otherwise is will skyp over ASCII values. 
Is there any D native for it or I need to check byte order mark 
and write one myself?


More information about the Digitalmars-d mailing list