Re: small bug in to_char and TM prefix, in RC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: small bug in to_char and TM prefix, in RC
Date
Msg-id 4033.1164832096@sss.pgh.pa.us
Whole thread Raw
In response to Re: small bug in to_char and TM prefix, in RC  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> What platform is this? Not all platforms are created equal when it
> comes to handling of toupper/tolower on unicode charaters.

It's pretty much guaranteed not to work on multibyte characters,
regardless of platform :-(.  This did not matter for non-localized
month/day names, but it does matter now.

In the context of the existing code, the simplest solution would be
to provide separate translations of "SUNDAY", "Sunday", "sunday" etc
but this will not work for the planned strftime() change.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: small bug in to_char and TM prefix, in RC
Next
From: "Pavel Stehule"
Date:
Subject: Re: small bug in to_char and TM prefix, in RC