# Discourse Assign требует поддержки названий групп в кодировке Unicode

**URL:** https://meta.discourse.org/t/discourse-assign-needs-support-for-unicode-group-names/396092
**Category:** Bug
**Tags:** translation, assign
**Created:** [14.Февраль.2026 08:41:37 UTC](https://meta.discourse.org/t/discourse-assign-needs-support-for-unicode-group-names/396092 "2026-02-14T08:41:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [16.Февраль.2026 11:35:37 UTC](https://meta.discourse.org/t/discourse-assign-needs-support-for-unicode-group-names/396092/2 "2026-02-16T11:35:37Z")

</div>

Спасибо за отчет, это будет исправлено в

> <https://github.com/discourse/discourse/pull/37843>
>
> When \`unicode\_usernames\` is enabled and the default locale is non-English, \`Jobs…::EnsureDbConsistency\` renames automatic groups to localized Unicode names (e.g., "admins" → "管理员"). Visiting the group's assigned topics page then triggers a 500 error (\`URI::InvalidComponentError\`) because the Unicode group name isn't properly encoded when building pagination URLs.
> 
> The encoding of route params affected by \`unicode\_usernames\` was scattered across multiple places:
> \- \`:username\` was encoded in \`page\_params\`
> \- \`:group\_name\` was encoded in \`construct\_url\_with\`
> \- \`:groupname\` (assign plugin) was not encoded anywhere → 500 error
> 
> This consolidates all encoding into \`construct\_url\_with\`:
> \- \`page\_params\` now passes raw values for all route params (\`:username\`, \`:group\_name\`, \`:groupname\`, \`:period\`) via a single loop
> \- \`construct\_url\_with\` encodes all three Unicode-sensitive params (\`:username\`, \`:group\_name\`, \`:groupname\`) in both \`page\_params\` and \`opts\` when \`unicode\_usernames\` is enabled
> \- The unencode block now uses simple string splitting instead of \`URI.parse\`, which cannot handle Unicode characters in paths
> 
> https://meta.discourse.org/t/396092

---

_[View the full topic](https://meta.discourse.org/t/discourse-assign-needs-support-for-unicode-group-names/396092)._
