Re: BUG #6480: NLS text width problem - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #6480: NLS text width problem
Date
Msg-id 1330714739.11007.4.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #6480: NLS text width problem  (Sergey Burladyan <eshkinkot@gmail.com>)
Responses Re: BUG #6480: NLS text width problem  (Sergey Burladyan <eshkinkot@gmail.com>)
List pgsql-bugs
On ons, 2012-02-22 at 22:37 +0400, Sergey Burladyan wrote:
> eshkinkot@gmail.com writes:
>
> > The following bug has been logged on the website:
> >
> > Bug reference:      6480
> > Logged by:          Sergey Burladyan
> > Email address:      eshkinkot@gmail.com
> > PostgreSQL version: 9.1.2
> > Operating system:   Debian testing
> > Description:
> >
> > This code incorrectly calculate width for translated text if it multibyte
> > string. strlen(ct) vs. UTF-8
> >
> > src/bin/psql/describe.c:2100

Can you prepare a patch?

pgsql-bugs by date:

Previous
From: j.vreven@aca-it.be
Date:
Subject: BUG #6503: Idle in transaction while lazy loading in JSF render response
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #6503: Idle in transaction while lazy loading in JSF render response