problem connecting via ODBC when unicode.

From: Kim Mortensen <kimfmx(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: problem connecting via ODBC when unicode.
Date: 2011-01-21 13:10:32
Message-ID: AANLkTinc_x8XDjy3foAe4sGoF_y-YjDCeLBCbh+Fx4hH@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I have have a question that annoys me incredibly.

I have a "Login Roles" that include special chars like "ÆØÅ" (same in
password) that accesses a view. however this is not possible, as the
connector does not recognize the user.

-----------------------------------
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ÆØÅ", database
"mydb", SSL off.
-----------------------------------

However if I create another "Login Roles" with the name "abc" (same in
password), I can successfull connect and access the view.

I have almost tried all combinations of client_encoding, have tried to set
configuration string on the connector.

Database is build with: "...... --encoding=UNICODE --locale=C
--lc-collate=C".

If I use pgadmin, everything in the database looks perfect, and the unicode
chars are represented correctly (Login role ÆØÅ exists).

Any help much appriciated.

Best Regards
Kim Mortensen

Browse pgsql-admin by date

  From Date Subject
Next Message Dennis Hoffman 2011-01-21 21:19:25 postgresql question
Previous Message Muhammad Soultani 2011-01-21 04:17:54 Read deleted record