Mauro Tortonesi wrote: > Alle 18:28, mercoledà 5 gennaio 2005, DraÅen Kacar ha scritto: > > Jan Minar wrote: > > > What's wrong with mbrtowc(3) and friends? The mysterious solution > > > is probably to use wprintf(3) instead printf(3). Couple of > > > questions on #c on freenode would give you that answer. > > > > Historically, wget source was written in a way which allowed one to > > compile it on really old systems. That would rule out C95 functions. > > > > (I'm not advocating this approach, just answering the question.) > > as long as i am the maintainer of wget, backward compatibility on very old or > legacy systems will NOT be broken.
I don't think it has be an either/or situation. With well-selected #if statements, you should be able to have something that works on legacy systems while still providing wide character support on more modern operating systems. I'm not volunteering to determine what those #if statements might be :-) ... just pointing out the possibility. Tony
