# שם משתמש עם תווים יפניים המוסיף מספר

**URL:** <https://meta.discourse.org/t/username-with-japanese-characters-appending-a-number/229728>\
**Category:** Product Support\
**Created:** [12 ביוני,‏ 2022,‏ 5:04pm UTC](https://meta.discourse.org/t/username-with-japanese-characters-appending-a-number/229728 "2022-06-12T17:04:50Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sweetbeems](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sweetbeems](https://meta.discourse.org/u/sweetbeems)\
**Post date:** [12 ביוני,‏ 2022,‏ 5:04pm UTC](https://meta.discourse.org/t/username-with-japanese-characters-appending-a-number/229728/1 "2022-06-12T17:04:50Z")

</div>

Hi Discourse!

I recently started a site and I’ve encountered the issue described below.

**Issue**

- Username ‘賢治’ always automatically changes to ‘賢治1’ whenever I send my single sign on payload.

Strangely, the _name_ is ok with being ‘賢治’, just not the username. This makes me think it’s some sort of uniqueness issue with the username… but I checked the rails console and there is no user with the username ‘賢治’. Is there some other place I should check for the uniqueness constraint? Is it a special chars issue?

**Context**  
I only recently started my discourse site and I originally started it without the ‘unicode usernames’ checked. However, after updating the settings I went through and updated the affected users. The other user with special chars in their name did not get a number appended to their username.

**Unicode Settings**

- ‘unicode usernames’ → allowed
- ’ allowed unicode username characters’ → [\p{Han}\p{Katakana}\p{Hiragana}]

**Payload**  
name=%E8%B3%A2%E6%B2%BB  
username=%E8%B3%A2%E6%B2%BB

Any help would be greatly appreciated. Thanks!

---

_[View the full topic](https://meta.discourse.org/t/username-with-japanese-characters-appending-a-number/229728)._
