Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unicode characters #10

Open
hmartos opened this issue Jun 3, 2016 · 1 comment
Open

Handle unicode characters #10

hmartos opened this issue Jun 3, 2016 · 1 comment

Comments

@hmartos
Copy link
Contributor

hmartos commented Jun 3, 2016

Unicode characters should be treated, for example, in configuration file, patternstoexclude was defined like:

patternstoexclude = ['caixa cataluña', 'caixa catalunya', 'catalunya caixa', 'cataluña caixa', 'caixa galicia', 'caixa rural galega', 'cataluña banc', 'caixa ontinyent', 'caixa geral', 'caixa popular', 'caixa economica federal']

and should be written

patternstoexclude = [u'caixa cataluña', u'caixa catalunya', u'catalunya caixa', u'cataluña caixa', u'caixa galicia', u'caixa rural galega', u'cataluña banc', u'caixa ontinyent', u'caixa geral', u'caixa popular', u'caixa economica federal']

@hmarrao
Copy link
Contributor

hmarrao commented Jun 4, 2016

will fix this by changing eval by json.loads!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants