graemefox / esmre

Automatically exported from code.google.com/p/esmre
GNU Lesser General Public License v2.1
1 stars 0 forks source link

enter() method does not handle unicode #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. index = esmre.Index()
2. index.enter(u'espa\u00f1ol','language')
3.

What is the expected output? What do you see instead?
I would expect to be able to use unicode strings as the regex. Instead, I am 
getting a UnicodeEncodeError.

What version of the product are you using? On what operating system?
version 0.3.1 on Mac OS X 10.9.2

Please provide any additional information below.

Original issue reported on code.google.com by mich...@thehumangeo.com on 12 Sep 2014 at 9:01