# Rhich编辑器无法识别带变音符号的用户名

**URL:** <https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966>\
**Category:** Bug\
**Tags:** composer\
**Created:** [2025年七月12日 07:34 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966 "2025-07-12T07:34:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)\
**Post date:** [2025年七月12日 07:34 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966/1 "2025-07-12T07:34:21Z")

</div>

我们在用户名中启用了分音符，这在 markdown 中运行正常，但在新编辑器中却不行：

## Markdown

![grafik](https://global.discourse-cdn.com/meta/original/4X/3/c/c/3cca8c16b4f5b901fa8fdbaa8f8ff25ccde030cf.png)

![grafik](https://global.discourse-cdn.com/meta/original/4X/3/e/5/3e5068617965e5c034347dd7d4bf3d19abb0fa1d.png)

## Composer

 ![grafik](https://global.discourse-cdn.com/meta/original/4X/1/e/7/1e7809c645f9e64a23c14803a4f86a55fc02a083.png)

---

<div class="post-metadata">

**Author:** ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**Post date:** [2025年七月12日 20:15 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966/2 "2025-07-12T20:15:23Z")

</div>

感谢您的报告。我们会看看！

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2025年七月13日 08:55 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966/5 "2025-07-13T08:55:01Z")

</div>

仅保留所谓的瑞典字母 o、å 和 Å，它们从列表中遗漏了。而且这可以只是一个例子，å/Å 是可以接受的——从未测试过（主要是因为所有芬兰人都学会了不使用这些字母）

---

<div class="post-metadata">

**Author:** ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)\
**Post date:** [2025年七月29日 08:52 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966/7 "2025-07-29T08:52:21Z")

</div>

感谢您的报告，此更改已添加 Unicode 支持：

> <https://github.com/discourse/discourse/commit/b140f53c6296c257a5e185bc0dca6f8dab9ac4f7>
>
> When the site setting \`unicode\_usernames\` is \`true\` we are passing the
> appropria…te unicode regex to allow mention nodes to be created
> automatically in rich text mode. This update also uses the unicode regex
> now within the composer input rules to handle typed mentions in real
> time.

---

<div class="post-metadata">

**Author:** ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)\
**Post date:** [2025年八月1日 08:53 UTC](https://meta.discourse.org/t/rich-editor-misses-usernames-with-umlauts/373966/8 "2025-08-01T08:53:55Z")

</div>

此主题已在 3 天后自动关闭。不再允许回复。
