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
Thu Jan 15 06:50:28 PST 2015


On Wednesday, 14 January 2015 at 17:19:42 UTC, Ola Fosheim 
Grøstad wrote:
> On Wednesday, 14 January 2015 at 16:44:35 UTC, FrankLike wrote:
>> Not  a  good  idea.
>
> What is not a good idea? The default collation differs based on 
> the OS settings AFAIK. In western countries it probably is 
> ISO8859-1 (not a windows code page, but close). Unicode data is 
> UCS2LE (little endian), but if you get the settings right the 
> client library should allow you to use UTF-8.

The wstring displayed ok in cmd,but not ok in gui(must use the 
fromMBS fuction),so I want to test change the gui'control.d ,set 
text property is Tstring ,by verstion(ANSI),set text is wstring 
,else ,set text is string.


More information about the Digitalmars-d mailing list