Can you put UTF-8 characters in a dbhash in python 2.5 ?
It fails when I try:

    #!/bin/env python
    # -*- coding: utf-8 -*-
    
    import dbhash
    
    db = dbhash.open('dbfile.db', 'w')
    db[u'smiley'] = u'☺'
    db.close()

Do I need to change the bsd db library, or there is no way to make it work
with python 2.5 ?

What about python 2.6 ?


Thanks.

-- 
Yves.
http://www.sollers.ca/blog/2008/no_sound_PulseAudio
http://www.sollers.ca/blog/2008/PulseAudio_pas_de_son/.fr
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to