In our previous episode, Henry Vermaak said: > > Personally I don't see the use of going this way. Why not simply use iconv? > > but that's just for char set conversion, how would we get the locale > data (like time/date format, etc)? i guess we have no choice but to > parse the definition files, then.
Correct, it is apparantly libc itself, not iconv, but the point is if clocale can, why not abstract it that way. Because the textmode versions might not be installed on all systems, the compiled versions might be OS specific, and if they ever change for linux distributions you have another problem at your hand. And IMHO it is not crucial enough to try to bypass libc. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal