The ANSI character set is very important for operating MSSQL, if no conversion,will attract more C# users

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 13 18:08:19 PST 2015


On Tuesday, 13 January 2015 at 16:47:33 UTC, FrankLike wrote:
> The ANSI character set is very important for operating MSSQL, 
> if no conversion, will expand the scope of D users, that can 
> attract more C# users.
>
> Now, the data comming from MsSql must convert by 'fromMBS' or 
> 'toMBSz',it's  not convenient to operate DataBase.
>
> Do you think a string that named 'Astring' which means 'ANSI' 
> string is good for D?
>
> Thank you.

If by ANSI you mean codepage-1252 we actually have that in the 
frequently overlooked std.encoding.

http://dlang.org/library/std/encoding/windows1252_string.html
http://dlang.org/library/std/encoding/EncodingSchemeWindows1252.html


More information about the Digitalmars-d mailing list