Re: My humble tribute to psql -- usql v0.5.0 - Mailing list pgsql-general

From Kenneth Shaw
Subject Re: My humble tribute to psql -- usql v0.5.0
Date
Msg-id CAAyX=LHCnC9rLJi-Pj-EKc_ovn83QCaewRX2gaD3KcPweJpvHw@mail.gmail.com
Whole thread Raw
In response to Re: My humble tribute to psql -- usql v0.5.0  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: My humble tribute to psql -- usql v0.5.0  (Kenneth Shaw <kenshaw@gmail.com>)
List pgsql-general
This doesn't seem to be a problem with PostgreSQL, MySQL, Oracle, or
SQLite3 databases. It was a problem with MSSQL in the limited check
that I just did. I don't see any driver option for the MSSQL Go
driver. I'll poke around and see if there's a "client encoding"
option.

-Ken


On Tue, Apr 4, 2017 at 4:08 AM, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
> On Tue, Apr 04, 2017 at 03:48:16AM +0700, Kenneth Shaw wrote:
>
>> It should work. What database did you try that with? I haven't tried
>> to do heavy / extensive utf8 tests, but all of Go (including the
>> "readline" package that is used for capturing input are native utf8.
>> The problem is potentially a connect option in the DSN for the
>> database needs to be manually added
>
> Do you "SET client_encoding" ?
>
> Karsten
> --
> GPG key ID E4071346 @ eu.pool.sks-keyservers.net
> E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: My humble tribute to psql -- usql v0.5.0
Next
From: Kenneth Shaw
Date:
Subject: Re: My humble tribute to psql -- usql v0.5.0