Hi Everyone,

We've had a discussion in the Slack group (link 
<https://openedx.slack.com/archives/general/p1476983163001638>), about 
providing an even better support for unicode strings in the edX platform.

Django already encourages the use of Unicode everywhere, and there has been 
so many efforts to support unicode in the platform. But it seems that 
adding the *u""* is very easy to get forgotten.

One solution is to move to Python 3 of course. The other more approachable 
solution is to adopt the unicode literals in every python script:

   - from __future__ import unicode_literals
   

I know this is not straightforward but I think it's worth taking the 
effort. This article <http://python-future.org/unicode_literals.html> 
explains a lot about the subject.

I would like to hear from you and perhaps someone can open a PR for this.

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/a50dd461-a9f6-4402-9c1e-42a4c4426543%40googlegroups.com.

Reply via email to