Re: Incorrect title and footer encoding for de_DE locale

Stefan <[email protected]> Wed, 20 Mar 2024 14:43:02 +0100
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <CAPuxWqGXbFhfKeBs8pQkY=y0_D24mM3-3LPcAA4aYEo-cytMtg@mail.gmail.com>
I already use Recode for the content itself, which works correctly -
the issue is about the auto-generated header and footer where the
localization files of a2ps might generate characters a2ps is not able
to handle to (like the localized month name).

Am Mi., 20. M=C3=A4rz 2024 um 14:39 Uhr schrieb Reuben Thomas <[email protected]=
>:
>
> On Wed, 20 Mar 2024 at 14:10, Stefan <[email protected]> wrote:
>>
>> Running a2ps with the de_DE locale leads to incorrectly rendered date
>> values inside the header and footer if the PS document is being
>> generated in March or when the source file has been modified in March.
>> Instead of the expected "M=C3=A4rz", I get "M=C3=83=C2=A4rz".
>
>
> I suspect you're using a UTF-8 locale. a2ps does not (sadly) support UTF-=
8. You can either use an 8-bit locale, or translate the input (e.g. with Re=
code).
>
> --
> https://rrt.sc3d.org