# Update quotes and mentions when username is changed

**URL:** https://meta.discourse.org/t/update-quotes-and-mentions-when-username-is-changed/39836
**Category:** Feature
**Created:** [2016 年 2 月 19 日午前 7:16 UTC](https://meta.discourse.org/t/update-quotes-and-mentions-when-username-is-changed/39836 "2016-02-19T07:16:30Z")
**Posts on this page:** 1
**Showing post:** 22

<div class="post-metadata">

### Author: ![chrispanag](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrispanag/32/105853_2.png) [@chrispanag](https://meta.discourse.org/u/chrispanag)
#### Post date: [2020 年 12 月 20 日午後 11:26 UTC](https://meta.discourse.org/t/update-quotes-and-mentions-when-username-is-changed/39836/22 "2020-12-20T23:26:46Z")

</div>

このトピックを、特にこのケースについて持ち上げさせていただきます。

> [@sam](#):
>
> 私は以前から、ユーザーのパスを `/users/ID/etc` にしたかったのです。そうすればこの問題は起きません。

> [@sam](#):
>
> 実際にはユーザー名の改名は非常に稀ですが、ID を使うことで得られる追加の柔軟性には意義があります。特に、今後中国語のユーザー名などを許可する可能性がある場合です。

まず、現在 UTF-8 ユーザー名が許可されていることを考えると… 😅

また、以下の問題が発見されました：[Unicode username with Σ as the final char leads to an error loading profile page](https://meta.discourse.org/t/unicode-username-with-as-the-final-char-leads-to-an-error-loading-profile-page/173182)

要約すると、JavaScript、Ruby、PostgreSQL 間での、さまざまな UTF-8 文字の扱い（例えば大文字・小文字への変換など）に不整合があります。上記の問題は、ユーザー ID を用いた別のルーティング方式が実装されない限り、UTF-8 文字をユーザー名として安全に使用できなくする可能性があります。

したがって、この決定を見直す機会ではないでしょうか 🙂

---

_[View the full topic](https://meta.discourse.org/t/update-quotes-and-mentions-when-username-is-changed/39836)._
