John C wrote: > novice2 Wrote: > >> i am afraid that windows API named *W works with UCS2 string. >> but D wchar[] is UTF-16. > > Wrong - Windows has used UTF-16 as native since Windows 2000. Actually, you're both right. UCS2 is UTF-16.