www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.windows.syserror.sysErrorString() failed on DBCS platforms

reply "Shawn Liu" <shawn666.liu gmail.com> writes:
std.windows.syserror.sysErrorString()

will fail on Chinese/Japanesse/Korea and other DBCS (Double-byte character 
set) platforms.

std.windows.charset.fromMBSz() need to be invoked before return.

- Shawn 
Dec 23 2005
parent Chris Lajoie <ctlajoie yahoo.com> writes:
 std.windows.syserror.sysErrorString()
 
 will fail on Chinese/Japanesse/Korea and other DBCS (Double-byte
 character set) platforms.
 
 std.windows.charset.fromMBSz() need to be invoked before return.
 
 - Shawn
 
You should probably post this to the bugs NG. Not that it will help when it gets burried under hundreds of other posts. Doesn't D need a *real* bug database? just a thought... Chris
Dec 23 2005