Bug report #10188

Postgresql connection with i18n characters in either username or password fails.

Added by Csaba Sandor almost 10 years ago. Updated almost 5 years ago.

Category:Data Provider/PostGIS
Affected QGIS version:2.2.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:18641


When I try to connect to Postgresql server with my user and pass containing i18n chars I get "password authentication failed" and the username wrongly encoded in the error message. Special chars replaced by a '?'.

Schemas, tables with i18n chars are properly displayed in QGIS.

I can connect successfully with same credentials from:
-command line on Ubuntu Server
-pgAdmin III from my Windows box

QGIS 2.2 on Windows 8.1 from OSGEO4W
Postgresql 9.1 on Ubuntu Server 12.04

Side note: I think I have to allow special characters in username as I authenticate against AD through LDAP based on CN not UID.


#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Jürgen Fischer over 6 years ago

  • Assignee deleted (Jürgen Fischer)

#3 Updated by Giovanni Manghi almost 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF