There is a problem creating a user with a character that is not in the 7-bit ASCII list inside the login field. For example accented characters in spanish produce the problem. You can create the user the problem arises once you try to access the form of the user again, the following error appears :

Good point, thank you. I actually tried to use your same solution but with str.encode('utf8') works great quite alright what should be expected. I believe that the error is ocurring because the value of the string is being passed throught the 'str()', not sure if the login is intended to have only 7-bit ascii characters and if so the system shouldn't let you write those characters in the first place or if so then the functions selected should be able to handle UTF-8 out of the box. I already opened a bug in launchpad hope it raises concern. It seems like a simple error that a validation solves

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines