Search Feedback

14
votes

Respect Zero Width Space Unicode character for word wrapping in Unity UI Text for Asian languages

GUI

-

-

Some languages such as Thai, Japanese, Chinese cannot use spaces as word wrapping boundaries.

Unity would have to integrate ICU4C to properly handle this.

In the meantime, an easy fix would be to respect the Zero Width Space Unicode character and treat them as normal white space that can be wrapped at.

TextMeshPro already does this, but Unity UI Text does not.

Then we can preprocess the input text with tools or plugins to insert the Zero Width Space characters.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10750)

2D

(281)

Ads

(54)

AI & Navigation

(81)

Analytics

(130)

Animation

(395)

Asset Store

(355)

Asset Store Publisher

(15)

Assets

(543)

Audio

(184)

Cloud Build

(144)

Collaborate

(63)

Docs & Tutorials

(239)

Editor

(2507)

Everyplay

(17)

Game Performance Reporting

(21)

General

(978)

Graphics

(869)

GUI

(430)

Input

(172)

Licensing

(90)

Networking

(188)

Physics

(383)

Platforms

(440)

Profiling & Optimization

(84)

Runtime

(181)

Scripting

(1168)

Terrain

(170)

WebGL

(142)