Modified unicode function in user model