[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Date format (was: How many people need locales?)



On Wed, Sep 05, 2001 at 12:23:34PM +0100, Nick Phillips wrote:
> On Wed, Sep 05, 2001 at 12:53:37PM +0200, Petr Cech wrote:
> > On Tue, Sep 04, 2001 at 09:17:12PM +1000 , Martijn van Oosterhout wrote:
> > > Does that mean it should always take a certain format irrespective of the
> > > locale? If so, which format?
> > 
> > or number format. ie. in Czech decimal separator is `,' comma and in C it's
> > `.' dot. OK, now restart gnumeric in other locale and you cannot load the
> > file :((
> 
> Which implies that it needs to know the locale used by the file. This
> means that you either need to:
> 
> 1) always use the same locale, or
> 2) tell it which local is used by the file at load time, either manually or
>    by the use of metadata in/around the file.

This could be tricky if the decimal point is the same as the seperator?

3,4,5,6  <- How many fields/numbers in that line?

That's why I prefer tab separated files...
-- 
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.



Reply to: