[fpc-devel] Changing Windows API A routines in SysUtils to W in Windows NT

Thaddy thaddy at thaddy.com
Mon Feb 6 21:43:18 CET 2012


On 6-2-2012 21:35, Sergei Gorelkin wrote:
> 06.02.2012 20:39, Felipe Monteiro de Carvalho пишет:
>>
> So, this is basically a first step of locking Windows RTL to use utf-8 
> by default and reducing chances it ever will call 'W' API without 
> conversions?
That is another point that worries me too. Windows NT + are not native 
UTF8 but UTF16.
That's why my suggestion to make the default string type fully opaque 
per platform requirements.
That can be done on the compiler level with little effort in rtl/fcl.
(For KOL it took weeks, not months)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2768 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120206/9e161465/attachment.bin>


More information about the fpc-devel mailing list