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

FrankLike via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 13 23:07:14 PST 2015


On Wednesday, 14 January 2015 at 02:08:21 UTC, Brad Anderson 
wrote:
> 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

Thank you.

I get data by arsd from MsSql,it can display string ok in cmd,but 
not work ok on gui.


More information about the Digitalmars-d mailing list