![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Shouldn't psql honour the current locale setting (LC_CTYPE) or/and have a command line option to set the encoding? |
#3
| |||
| |||
|
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I haven't found a way to set the client encoding of a psql connection other then "\encoding" which is arkward for batch processing. As .psqlrc is being ignored during batch processing and the internal encoding is being set *after* "-v", I have to resort to arkward solutions in order to read data via scripts. (To whom it may concern: instead of using "-c" you can pipe your command from stdin). |
![]() |
| Thread Tools | |
| Display Modes | |
| |