client_encoding_test_win.txt

text/plain

Filename: client_encoding_test_win.txt
Type: text/plain
Part: 1
Message: Re: Determining client_encoding from client locale
Administrador@casanova11 ~$ ./test-libpq.exe "dbname=postgres user=postgres host=192.168.0.196 port=54323"
PostgreSQL version: PostgreSQL 8.5devel on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit
client_encoding: UTF8

Administrador@casanova11 ~$ ./test-libpq.exe "dbname=postgres user=postgres host=192.168.0.196 port=54323 client_encoding=latin1"
PostgreSQL version: PostgreSQL 8.5devel on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit
client_encoding: latin1

Administrador@casanova11 ~$ ./test-libpq.exe "dbname=postgres user=postgres host=192.168.0.196 port=54323 client_encoding=auto"
PostgreSQL version: PostgreSQL 8.5devel on x86_64-unknown-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2, 64-bit
client_encoding: SQL_ASCII