[Change] register username regular expression
[Change] python string encoding