This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zooko
Recipients
Date 2006-08-17.00:48:58
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
with Python 2.5b3,

Here is an attempt to use a unicode filename with bsddb:

>>> dbe = db.DBEnv()
>>> dbe.open(u'\u03b3\u03bb\u03ce\u03c3\u03c32',
db.DB_CREATE | db.DB_INIT_MPOOL)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
__builtin__.UnicodeEncodeError: 'ascii' codec can't
encode characters in position 0-4: ordinal not in
range(128)

This is on Windows XP.

Here are some indications that the underlying SleepyCat
library ought to be able to do the right thing here:

http://www.sleepycat.com/xmldocs/ref/build_win/unicode.html
http://www.sleepycat.com/update/4.3.29/if.4.3.29.html

History
Date User Action Args
2008-01-20 09:58:54adminlinkissue1541671 messages
2008-01-20 09:58:54admincreate