Re: Incorrect title and footer encoding for de_DE locale
Reuben Thomas <[email protected]> Wed, 20 Mar 2024 14:39:20 +0100
| Newsgroups | gmane.comp.printing.a2ps.bugs |
|---|---|
| Message-ID | <CAOnWdogp_M96Db9HYtEVkjrsm0EkQgtUeMP+n8g7_riyvJgCxA@mail.gmail.com> |
--00000000000084a0c2061417b82b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Recode). --=20 https://rrt.sc3d.org --00000000000084a0c2061417b82b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Wed, 20 Mar 2024 at 14:10, Stefan <<a href=3D"mailto:stefan641= [email protected]">[email protected]</a>> wrote:<br></div><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">Running a2ps with the de_DE locale l= eads to incorrectly rendered date<br> values inside the header and footer if the PS document is being<br> generated in March or when the source file has been modified in March.<br> Instead of the expected "M=C3=A4rz", I get "M=C3=83=C2=A4rz&= quot;.<br></blockquote><div><br></div><div><div style=3D"font-family:arial,= helvetica,sans-serif;font-size:small" class=3D"gmail_default">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 Recode).<br><= /div><br></div></div><span class=3D"gmail_signature_prefix">-- </span><br><= div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D= "ltr"><a href=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.o= rg</a></div></div></div></div></div> --00000000000084a0c2061417b82b--