mysociety / ainow

Website for the AI Now Symposium
Other
2 stars 1 forks source link

handle unicode speaker names #87

Closed struan closed 6 years ago

struan commented 7 years ago

str can fail to convert names with unicode to ascii correctly so use unicode instead as that handles things correctly

stevenday commented 7 years ago

I find this a bit confusing myself, but would using python_2_unicode_compatible from https://docs.djangoproject.com/en/1.10/topics/python3/#str-and-unicode-methods achieve the same thing and get us some future-proofing against python 3 support for free?

struan commented 6 years ago

I think this is no longer required.