[pylucene-dev] Document encoding?

Andi Vajda vajda at osafoundation.org
Thu Mar 8 08:34:56 PST 2007


On Thu, 8 Mar 2007, Jarek Zgoda wrote:

> Conversion from byte-strings to unicode assumes some knowledge of source 
> encoding so I expect this to be a source of problems (not counting confusion 
> like mine)...

Yes, PyLucene assumes 'utf-8' is the encoding of your byte strings. If that is 
not the case, you need to convert them to unicode first.

Andi..


More information about the pylucene-dev mailing list