# Unicodeタグでパーマリンクが機能しない

**URL:** https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757
**Category:** Bug
**Created:** [2020 年 11 月 30 日午後 4:23 UTC](https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757 "2020-11-30T16:23:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nildarar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nildarar/32/331927_2.png) [@nildarar](https://meta.discourse.org/u/nildarar)
#### Post date: [2020 年 11 月 30 日午後 4:23 UTC](https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757/1 "2020-11-30T16:23:59Z")

</div>

パーマリンク設定でタグタイトルをUnicodeに設定すると、システムが正常に動作せず、ユーザーが無効なアドレスにリダイレクトされてしまいます。

例:

> **アドレス:** `c/url-to-old-category`  
> **タイプ:** タグ名  
> **宛先:** [Unicode タグ名]  
> **リダイレクト結果:** `tag/Ù¾ÛŒØ´_Ø§Ø²_Ø¨Ø ± Ø¯Ø§Ø`

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2020 年 12 月 2 日午前 7:07 UTC](https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757/4 "2020-12-02T07:07:47Z")

</div>

以下のコミットで修正済みです：

> <https://github.com/discourse/discourse/commit/86feaec9bec7a634a5aac8b9ea4cea0a69bb5911>
>
> Tags with emoji in the name were failing to redirect via permalink
> handling. Th…is commit percent encodes the emoji name which fixes
> the issue.
> 
> https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757/

ご報告ありがとうございます @nildarar 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2020 年 12 月 2 日午前 7:07 UTC](https://meta.discourse.org/t/permalinks-not-working-in-unicode-tags/171757/5 "2020-12-02T07:07:54Z")

</div>


