Re: trouble with to_char('L')

Inoue, Hiroshi <inoue@tpf.co.jp>

From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>
Cc: Mikko <mhannesy@gmail.com>, pgsql-general@postgresql.org
Date: 2009-04-22T21:35:28Z
Lists: pgsql-hackers, pgsql-general

Attachments

Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> Does this imply that we shouldn't allow UTF8 database on Windows at all?
> 
> That would be pretty unfortunate :-(
> 
> I think what this suggests is that there probably needs to be some
> encoding conversion logic near the places we examine localeconv()
> output.

Attached is a patch to the current CVS.
It uses a similar way like LC_TIME stuff does.

regards,
Hiroshi Inoue