Bug report #2589
DB input bug
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||Copied to github as #:||12649|
I have a PostGis server on ubuntu. Also i have a some clients on Windows (XP and Vista). When I make one polygon all is ok, but if I make 2 or more polygons and afret that try to save a layer a have a error:
"ERROR: character 0xc390 of encoding "UTF8" has no equivalent in "WIN1251"".
It's message from DB server. DB has a windows-1251 charset now. I have this error form ubuntu and from Windows boarded PC.
#3 Updated by drziko - over 10 years ago
Replying to [comment:2 jef]:
everytime or just when you enter certain characters in the attributes? Can you give an example of the data you enter? Are there default values on the postgresql tables?
It's happend when I enter certain characters in the attributes in Russian. If I enter in English - all is ok. Or if I create some polygons and don't fill attributes - all is ok too.
The Postgress encoding is UTF-8. If I make encoding as CP1251, database give error, that can't write it. In UTF-8 this problem doesn't exist.
In major default values give this error.
Maybe it'll be better if I give you a screencast?