Re: [AD] Windows unicode filename support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek napsal(a):
On Thursday 20 April 2006 06:09, Chris wrote:
Since I made a patch for Unix a while ago to support UTF-8/Unicode
filenames,
it'd only be fair for Windows to support Unicode filenames too. I don't believe Windows' _stat/_findfirst/etc would work properly with UTF-8
names
like the similar routines seem to in Unix, so I opted to change it to use
the
wide-char/UTF-16 equivilants (_wstat/_wfindfirst/etc).

I had a Windows user test it and it seems to work in his app.

Ok, commited.

Evert

MSDN says:

_wstat, _wfindfirst

Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

So this patch probably means giving up Win95, Win98 and WinME.
However I haven't currently installed any of them so I could not verify that.

--
Regards,
    Michal

ICQ# 175762750




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/