I tried to save in database some not ascii characters (polish national
characters).
I set in bizobj encoding to utf-8. I also create database using this
encoding (sqllite and mysql).
When I try to save text field with this characters I always receive:
Traceback (most recent call last):
File "d:\dabo\python24\lib\site-packages\Dabo-
0.7.1s-py2.4.egg\dabo\lib\eventMixin.py", line 97, in raiseEvent
bindingFunction(event)
File "d:\dabo\python24\lib\site-packages\Dabo-
0.7.1s-py2.4.egg\dabo\ui\uiwx\dForm.py", line 571, in onSave
def onSave(self, evt): self.save()
File "d:\dabo\python24\lib\site-packages\Dabo-
0.7.1s-py2.4.egg\dabo\lib\datanav\Form.py", line 99, in save
return super(Form, self).save(dataSource)
File "d:\dabo\python24\lib\site-packages\Dabo-
0.7.1s-py2.4.egg\dabo\ui\uiwx\dForm.py", line 249, in save
bizobj.saveAll()
File "d:\dabo\python24\lib\site-packages\Dabo-
0.7.1s-py2.4.egg\dabo\biz\dBizobj.py", line 277, in saveAll
raise dException.dException, e
QueryException: 'ascii' codec can't encode character u'\u0144' in position
3: ordinal not in range(128)
in save method of bizobj.
I suppose national characters should be supported (utf-8), but I have
problem with this. Is it possible to work with utf-8 wide character set?
Dabo version: stable download (either runtime or installed inside python).
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users