[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
l10n problem in a2ps
From: |
Mathias Herberts |
Subject: |
l10n problem in a2ps |
Date: |
Wed, 09 Oct 2002 14:50:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
Hi,
I noticed a problem in a2ps linked to localization. In the PostScript
output a2ps generates, several real numbers are present. These numbers
are I suppose (I did not look in the source) using the libc printf
function calls. Those functions change their output depending on the
value of the LANG environment variable.
If LANG is set to fr_FR.ISO8859-1 (other values might cause the problem
also), then floating point numbers are displayed using ',' as the
decimal separator. The resulting PostScript file is therefore corrupted
since PostScript only allows the dot as a decimal separator.
Generating the same file with no LANG variable set solves the problem,
although the date format and possibly other output are not conformant to
the user's initial choice.
I think a2ps should produce correct PostScript output no matter the
value of the LANG variable.
Best regards and thanks for a2ps,
Mathias Herberts.
--
-- Informatique du Credit Mutuel ---- Reseaux et Systemes Distribues
-- 32 rue Mirabeau -- Le Relecq-Kerhuon -- 29808 Brest Cedex 9, FRANCE
-- Tel +33298004653 - Fax +33298284005 - Mail address@hidden
-- Key Fingerprint: 8778 D2FD 3B4A 6B33 10AB F503 63D0 ADAE 9112 03E4
smime.p7s
Description: S/MIME Cryptographic Signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- l10n problem in a2ps,
Mathias Herberts <=