On Sun, May 27, 2012 at 11:20:48AM -0300, Adriano dos Santos Fernandes wrote:
> 
> For example, in Ubuntu I set terminal charset via its menu entry. It
> don't change any environment variable, so I don't know what it does,
> but, it makes the output in the console works correctly when ISQL
> connection charset matches it.
> 
> On the other hand, with current patch, both $LANG and the menu entry (as
> well the connection charset) must match.

I did experiment a bit and it seems that locale (most likely LC_CTYPE,
unfortunately the one that needs to be set for libedit to work), affects
only output with "set list off", with "set list on", the output seems to
be OK. So the interference might be with the code responsible for column
formatting - and the output looks as if all non-printable characters
(according to locale setting) were omitted.

I'll try to find more.

                                                          Michal Kubecek

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to