>>>>> "Peter" == Peter Suetterlin <[EMAIL PROTECTED]> writes:

Peter>   Hi all,

Peter> I recieved a bugreport from a german user.  He has 1.0pre6
Peter> installed on a SCO-OS5 system, running in german
Peter> internationalisation, which means that he has the following
Peter> settings: LANG=de_DE.ISO8859-1 LC_CTYPE="de_DE.ISO8859-1"
Peter> LC_COLLATE="de_DE.ISO8859-1" LC_TIME="de_DE.ISO8859-1"
Peter> LC_NUMERIC="de_DE.ISO8859-1" LC_MONETARY="de_DE.ISO8859-1"
Peter> LC_MESSAGES="de_DE.ISO8859-1" LC_ALL=

Peter> Now he has the problem that somehow LyX seems to use the value
Peter> of LC_NUMERIC to write the version number of the lyxformat
Peter> using a komma instead of the decimal point.  When reading such
Peter> a file, LyX only recognizes the 2 and thinks it's lyxformat 2.0
Peter> :-( Setting LC_NUMERIC to C_C.C does cure the problem.

Peter> I couldn't reproduce the error here on Linux and OSF-1, maybe
Peter> its (only) SCO-specific.  Maybe you have an idea if that's a
Peter> problem of LyX or not.

What is strange is that we do not set the locale of LC_NUMERIC, and I
thought that in this case we were safe. We could fix this particular
problem by hand, but I fear it could appear elsewhere.

A possible workaround: could you ask this user to add
setlocale(LC_NUMERIC, "C");
between locale_init() and gettext_init() in main.C:main()? If it makes
a difference, I'll fix it like that.

We already had a similar report earlier, but since we could not
reproduce it, it never got fixed.

JMarc

Reply via email to