Re: [AD] ESD patch

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


Peter Wang <tjaden@xxxxxxxxxx> writes:
>> You can't use things like server[0] or "No server" in a Unicode 
>> environment. 
> 
> Oops.  I was recalling another message some time ago about this kind
> of thing, but I guess it applies only to UTF8.  I'm off to read that
> chapter on Unicode...

Everyone tends to get the Unicode things wrong, but it doesn't really matter 
because it is very quick for me to correct this kind of problem at my end. 
It is important that all the library code work properly with any text 
format, but it seems to have worked out quite well in that even though this 
means almost all code having to be aware of it, the changes from basic ASCII 
string manipulation are just replacing one function call with another, 
rather than changing the more fundamental ways that things are done, so it 
is trivial to go through and Unicodificate a piece of existing ASCII mode 
code. That's a good thing, since I suspect that I will be in charge of doing 
this pretty much for ever, given that it really isn't worthwhile for most 
developers to bother figuring out what things they need to do for this, and 
it is easier for me just to fix it than to go around explaining the details 
to everyone :-)


--
Shawn Hargreaves - shawn@xxxxxxxxxx - http://www.talula.demon.co.uk/
"A binary is barely software: it's more like hardware on a floppy disk."



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