Improving D's support of code-pages

Sean Kelly sean at f4.ca
Mon Aug 20 11:59:49 PDT 2007


Anders F Björklund wrote:
> Sean Kelly wrote:
> 
>> The routines Tango currently uses to perform the conversion are Win32 
>> library calls, and therefore, I assume, not available to GDC.  
>> However, I suppose I could use POSIX calls for GDC--I hadn't 
>> considered that case.
> 
> You can use Win32 calls, as long as you wrap them in version(Win32) ?

Yup.  They require an additional library to be linked as well.  I take 
care of this with "pragma(lib)" on DMD, but don't know if GDC supports 
this.  Aside from that, it's simply a matter of GDC users having the 
.lib file available (it's included with DMC).


Sean



More information about the Digitalmars-d mailing list