Can we use special characters for the "Public Username"?

284 views
Skip to first unread message

snowp...@gmail.com

unread,
Jun 2, 2015, 5:24:41 AM6/2/15
to edx-...@googlegroups.com
Using special characters on the file "Public Username" in edx is forbidden. I assume there are technical reasons for that? Or may I turn off this restrictions somehow?

Sarina Canelake

unread,
Jun 6, 2015, 12:54:23 AM6/6/15
to edx-code
I don't know if there's a specific reason for it, but I would think that there's a lot of code in the platform that wouldn't cleanly handle unicode appearing in usernames. I would recommend against just turning it on - you would need to run the full test suite and see what all might fail from unicode usernames --- and even then, errors likely would appear, because we likely have lots of apps who don't even test against a unicode username.

Sorry about that.

Sarina

On Tue, Jun 2, 2015 at 5:24 AM, <snowp...@gmail.com> wrote:
Using special characters on the file "Public Username" in edx is forbidden. I assume there are technical reasons for that? Or may I turn off this restrictions somehow?

--
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/2cb5da1a-24d5-4045-bd7d-9552c562ff02%40googlegroups.com.

r...@efabless.com

unread,
May 16, 2016, 2:01:39 PM5/16/16
to General Open edX discussion
Hello Sarina,
         is this still the case with the 2016 release of open edx?

-Rajeev

Ned Batchelder

unread,
May 16, 2016, 3:45:42 PM5/16/16
to edx-...@googlegroups.com
Rajeev,

This thread doesn't describe what goes wrong if you use non-ASCII in the Public Username.  Can you give it a quick try and tell us what you find?

--Ned.

Omar Al-Ithawi

unread,
May 18, 2016, 2:44:38 PM5/18/16
to General Open edX discussion
Hi All,

It's my pleasure to help on this.

At Edraak.org we try to support the unicode usernames (with spaces) and so far we're doing well.

I know this is against Django but it is working fine with us, even in Dogwood.

I know this is needed in a lot of global edX installations, but not sure if edX is willing to take it as an opensource contribution.

Since this is an ongoing process at Edraak (to support unicode everywhere), the following pull requests are an example of what we did:


Thanks,

Ned Batchelder

unread,
May 19, 2016, 10:39:02 AM5/19/16
to edx-...@googlegroups.com
Omar, are you planning to contribute these changes back into the common code?  It seems like others would like to have them.  Is there a reason not to contribute them?

--Ned.

Omar Al-Ithawi

unread,
May 22, 2016, 4:53:05 AM5/22/16
to edx-...@googlegroups.com
Hi Ned,

Yes, I would like to contribute those changes. I didn't do it, because they have potential Django compatibility issues (which we try actively to solve, and has been successful so far). Also I wasn't sure that the openedx would be interested in this feature.

I will put it on my list and try to work on it once I have time.

Thanks,

--
You received this message because you are subscribed to a topic in the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/CAGtJPNNkax18SceFrB1Do3o9pFwUa%3DqpiFOnb4KhdFbnsx5DbQ%40mail.gmail.com.



--
Omar Al-Ithawi

Senior Engineer, Edraak.org


Queen Rania Foundation

for Education & Development

T +962 6 4016464  Ext. 700

M +962 7 90574405

E oit...@qrf.org

Ned Batchelder

unread,
May 24, 2016, 6:32:35 AM5/24/16
to edx-...@googlegroups.com
Omar, great to hear!  If there is work needed to get the changes ready, maybe someone here would like to help?

--Ned.

Felipe Montoya

unread,
May 24, 2016, 6:52:59 PM5/24/16
to General Open edX discussion
Hello Omar!

Thanks a lot for your work on supporting special characters for usernames. Your fork was the first stop in our research to get that working for us a few months ago. If you need any help with this or you ever want to discuss any problems you find with those usernames, let me know and I will be happy to help.


Cheers
--
Felipe

Omar Al-Ithawi

unread,
Jun 20, 2016, 11:38:50 AM6/20/16
to General Open edX discussion
Hi Felipe and Ned,

I've created this pull request to support unicode usernames. More details in the pull request:
Reply all
Reply to author
Forward
0 new messages