this is the simple code I've mentioned
locale set to pl_PL.UTF-8
why it is using 'ascii' codec?

** Attachment added: "example"
   http://librarian.launchpad.net/4295008/test.py

** Description changed:

  Binary package hint: python
  
  Maybe I don't understand something. I never before needed str.encode() so I 
don't know how to setup it.
  My programm using MySQLdb worked two weeks ago, now I got:
  UnicodeDecodeError: 'ascii' codec can't decode byte ...
    on /usr/lib/python2.4/site-packages/MySQLdb/cursors.py line 146:
        query = query.encode("charset")
  I've upgraded to edgy lately.
  The same exception is raised in simple code
- It may be connected with bugs like #15407 #46027 #50478 #57067
+ It may be connected with bugs like bug #15407, bug #46027, bug #50478, bug 
#57067

-- 
str.encode() dosn't work as expected
https://launchpad.net/bugs/61036

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to