WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

#54492 closed defect (bug) (duplicate)

Unicode character not escape for page slug (Vietnamese - block editor screen)

Reported by: khoipro Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.8.2
Component: I18N Keywords:
Focuses: Cc:

Description

With the latest WordPress 5.8.2, the permalink slug generator seems not to escape all Vietnamese characters from a page title.

For example:

"Dịch vụ" - the slug become "dịch-vụ", but we expected "dich-vu"
"Dự án" - the slug is "dự-an", but we expected "du-an".

It happens only when editing with Block Editor. When editing the slug from a Quick edit link (on page list), it has been updated well.

Change History (3)

#1 @khoipro
2 weeks ago

  • Summary changed from Page slug unicode still append without escape (Vietnamese) to Unicode character not escape for page slug (Vietnamese - block editor screen)

#2 @khoipro
2 weeks ago

More example

"Thiết kế nội thất" - a slug is "thiết-kế-nội-thất", but correct should be "thiet-ke-noi-that".

#3 @SergeyBiryukov
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, thanks for the report! We're already tracking this issue in #45478.

See comment:16:ticket:45478 for the current state of things. The ticket was closed as reported-upstream in Gutenberg but never actually fixed there, so either one of the related issues on the Gutenberg repository should be reopened, or a new one should be created.

Note: See TracTickets for help on using tickets.