[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Locale stuff
Dear All,
One reason for the confusion about this stuff I think is
clear; I have never emphasized the power of this setting
in catalog.cfg:
Locale de_DE
Try this sometime. It sets MiniVend's locale to that as the default,
and automatically brings in the POSIX currency settings defined in
the locale distribution. It should also cause sorting and searching
to be correct for that locale.
Be careful -- the last one pertains, or the one that is specified
as "default" in LocaleDatabase (locale.asc in the demo).
Now the big question at hand is this:
Should [setlocale foo] cause sorting and collation to change?
I am not sure it should; this could cause some real problems, some
very nasty and gnarly ones. Even with the wonderful "use locale" capability
of Perl, it will be hard to track what needs be done.
I need input on all of this -- while I have tried very hard to
make MiniVend an international piece of software, I need your help.
I live in the still-very-monocultural United States.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
131 Willow Lane, Floor 2 | || _ \
It's a little-known fact Oxford, OH 45056 | || |_) |
that the Y1K problem caused <mikeh@minivend.com> |___| _ <
the Dark Ages. -- unknown 513.523.7621 FAX 7501 |_| \_\