> > Could you take a look at included screen shot?
>
> I haven't found it. However I've made a little bit of trying with my
Oops. I have included this time.
> > > Maybe you could point me some source of information about display lengths
> > > of characters depending on the encoding?
> >
> > I could write "PQmbtermlen" function for every encoding supported by
> > PostgreSQL
>
> That would be great ! ;-)
Ok, I will work on this.
> > except UTF-8. Such kind of info for UTF-8 might be quite
> > complex. I believe there are some mapping tables or functions to get
> > such kind of info somewhere on the Internet, but I don't remember.
>
> That would be even greater;-)
>
> I guess a "return 1" version would be a false quick fix that could
> be improved later on...
Agreeed.