Not sure what you're going for with that... you should be indexing
unicode strings. Also, I thought str().encode("utf-8") was a no-op,
since str() will only handle ASCII.
> But when I use the same method at
> parser.parse(..) and search for 'Straße'
(Shakes fist at sky) CURSE YOU PYPARSING!!!
Sigh.
I thought pyparsing would handle non-ASCII characters. I'll try to
figure out what I need to do to make it work properly.
Matt
Not sure what you're going for with that... you should be indexing
Marcus Puchalla wrote:
> Indexing data from mysql I convert the strings using:
> str(row[0]).encode("utf-8"))
unicode strings. Also, I thought str().encode("utf-8") was a no-op,
since str() will only handle ASCII.
> But when I use the same method at(Shakes fist at sky) CURSE YOU PYPARSING!!!
> parser.parse(..) and search for 'Straße'
Sigh.
I thought pyparsing would handle non-ASCII characters. I'll try to
figure out what I need to do to make it work properly.
Matt
I think I've got this figured out in pyparsing. I'll upload a new
release with the fix.
Cheers,
Matt