[ghemical-devel] LC_NUMERIC problem

Jean Bréfort jean.brefort@ac-dijon.fr
11 Feb 2004 11:05:46 +0100


--=-ldgil8buDuRIMG+hbDRo
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mer 11/02/2004 =C3=A0 10:53, Tommi Hassinen a =C3=A9crit :
> Hi,
>=20
> today I added the setlocale() calls into all "FileOpen" and "FileSave"
> type functions in all CVS branches. It works the way Jean suggested, by
> getting first the current numeric locale, changing it into "C", and
> finally changing it back to original setting.
>=20
> It seems to work in my system where locale is "C" ; unfortunately I don't
> know how to change it so it still needs testing. The change is not yet
> applied in file import/export functions, only in file open/save ones.

Add lines such as the following in /etc/profile:

export LANG=3D"fi"
export LC_ALL=3D"fi_FI"

(replace the values "fi" and "fi_FI" by what is most appropriate for
you)=20

Regards,

Jean

--=-ldgil8buDuRIMG+hbDRo
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAKf55UkVLHK5zOkcRApj9AJ9BlENUwBDLIWe/vwK7vgJx813bMQCgi+hL
QA0h5FjyzQQOnw0OtVaiJBA=
=KtVm
-----END PGP SIGNATURE-----

--=-ldgil8buDuRIMG+hbDRo--