[fpc-pascal] locale solution for unix systems

Bart bartjunk64 at gmail.com
Sat Mar 21 12:35:07 CET 2009


On 3/20/09, Marco van de Voort <marcov at stack.nl> wrote:
>  A plugin is the more logical route, for the ones that want to remain libc
>  free, but want to risk maintainance problems.

Like an fplocale unit, that users can include if they do not want to
use clocale?

> Are they guaranteed default installed on most OSes ?
Probably not...
>  ... It's pretty hard to
>  parse something that is not there.
If it's not there, there's nothing to parse, so the code would exit
immediately at that point. Nothing would get broken (more than it is
now): formatsettings would remain the same as before trying to
localise them (as they are now).

Bart



More information about the fpc-pascal mailing list