Re: [AD] Windows unicode filename support

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


On Thursday 04 May 2006 06:42, Victor wrote:
> As a game programmer using a portable library, I intend that my
> software run everywhere regardless of OS details (even if the user is
> running it in Win95, or maybe DOS). I agree, as a programmer, that
> really is a bad pratice to depend in nôn-ÁNSI chãrçters, bút as a
> nõn-ênglïsh spèaker they may eventually appear somewhere (sometimes
> they could be some user input). Users don't want to know deep details
> of the implementation, so limiting them to not use extended characters
> is not a good choice (even if just on a few old OSes). So I think that
> trying to support them, even if this could get complex, is a good idea.

Non-ANSI characters will only have "problems" in Win9x, and really, Allegro 
won't have any less functionality than it currently has. Things that worked 
before will continue to work. The only change this patch makes is to allow 
the use of _wstat, _wfindfirst, etc, on Windows systems that support it. 
Win9x's codepage API has the potential to create problems, which is why WinNT 
and up started using UTF-16. There's no reason to support potentially 
problematic, esoteric methods for extended characters when a simpler method 
is available. Win9x is not known for good extended character support, for 
users or programmers, and this is why.




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