Re: Encoding of src/timezone/tznames/Europe.txt - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Encoding of src/timezone/tznames/Europe.txt
Date
Msg-id 3356880.1594909469@sss.pgh.pa.us
Whole thread Raw
In response to Encoding of src/timezone/tznames/Europe.txt  (Christoph Berg <myon@debian.org>)
Responses Re: Encoding of src/timezone/tznames/Europe.txt  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
Christoph Berg <myon@debian.org> writes:
> Is there any reason why src/timezone/tznames/Europe.txt is encoded in
> latin1 and not utf-8?

> The offending lines are these timezones:

> MESZ     7200 D  # Mitteleuropäische Sommerzeit (German)
>                  #     (attested in IANA comments though not their code)

> MEZ      3600    # Mitteleuropäische Zeit (German)
>                  #     (attested in IANA comments though not their code)

> It's not important for anything, just general sanity. (Spotted by
> Debian's package checker, lintian.)

Hm.  TBH, my first reaction is "let's lose the accents".  I agree that
it's not great to be installing files that are encoded in latin1, but
it might not be great to be installing files that are encoded in utf8
either.  Aren't we better off insisting that these files be plain ascii?

I notice that the copies of these lines in src/timezone/tznames/Default
seem to be ascii-ified already.  Haven't traced the git history,
but I bet somebody fixed Default without noticing the other copy.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [PATCH] Performance Improvement For Copy From Binary Files
Next
From: "David G. Johnston"
Date:
Subject: Re: How to identify trigger is called from the node where row is created