py3: unicode check fixes.

16 jobs for !2944 with noc-py3-unicode5 in 16 minutes and 26 seconds (queued for 2 seconds)
merge request