# Unicode文字でユーザー名を変更する際の問題

**URL:** <https://meta.discourse.org/t/issue-with-renaming-user-with-unicode-characters/246628>\
**Category:** Support\
**Created:** [2022 年 11 月 23 日午前 9:29 UTC](https://meta.discourse.org/t/issue-with-renaming-user-with-unicode-characters/246628 "2022-11-23T09:29:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2022 年 11 月 24 日午前 11:33 UTC](https://meta.discourse.org/t/issue-with-renaming-user-with-unicode-characters/246628/6 "2022-11-24T11:33:58Z")

</div>

「moep」から「Möp」へのユーザー名の変更をテストしたところ、うまくいきました。

- どのバージョンの Discourse を使用していますか？
- これは標準インストールですか？
- Discourse の前にリバースプロキシがありますか？
- どのブラウザを使用していますか？
- `allowed_unicode_username_characters` 設定の値は何ですか？
- レールコンソールでの名前変更は機能しますか？

```plaintext
./launcher enter app
rails c

```

```ruby
user = User.find_by_username("moep")
new_username = "Möp"
UsernameChanger.change(user, new_username, Discourse.system_user)

```

---

_[View the full topic](https://meta.discourse.org/t/issue-with-renaming-user-with-unicode-characters/246628)._
