Bug 117554

Summary: Non-breaking space, non-breaking hyphen, no-width no break don't work under zh_TW locale
Product: LibreOffice Reporter: Franklin Weng <franklin>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: marklh9, shanshandehongxing, vsfoote, xiscofauli
Priority: medium    
Version: 4.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=114160
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 83066    
Attachments: I want "新北市" connected together without being broken but didn't work
Here is what I saw in LO 6.1.2.1
no-width no break didn't work
Still not work in Chinese

Description Franklin Weng 2018-05-11 00:06:31 UTC
Created attachment 142027 [details]
I want "新北市" connected together without being broken but didn't work

In English mode (LC_ALL=en_US.UTF-8 libreoffice) the non-breaking features can work.  However in Chinese mode (LC_ALL=zh_TW.UTF-8 libreoffice) it doesn't.  I insert non-breaking space or no-width no break between two Chinese characters and it still broke into new lines (not the whole words going into new lines) when wrapping.

It may be inherited from OOo.  My earliest tested version is 4.0.0.3.
Comment 1 Xisco Faulí 2018-07-12 14:28:44 UTC
@Mark Hung, one for you ?
Comment 2 Xisco Faulí 2018-10-18 14:39:18 UTC
Hi Frankin Weng,
Is this issue still reproducible in master?
Comment 3 Volga 2018-10-18 14:56:02 UTC
I saw this bug too. Confirmed in:

版本:6.1.2.1 (x64)
Build ID:65905a128db06ba48db947242809d14d3f9a93fe
CPU 线程:4; 操作系统:Windows 10.0; UI 渲染:默认; 
区域语言:zh-CN (zh_CN); Calc: group threaded
Comment 4 Volga 2018-10-18 14:58:38 UTC
Created attachment 145806 [details]
Here is what I saw in LO 6.1.2.1
Comment 5 Xisco Faulí 2018-10-18 15:07:47 UTC
Putting to NEW then.
Thanks Volga
Comment 6 Franklin Weng 2018-11-16 13:53:15 UTC
Created attachment 146692 [details]
no-width no break didn't work

Affect more:  The no-width no break didn't work between alphanumeric (western) characters in a mixed (both Western and Asian texts) paragraph.  The language of western texts was set to English(US).
Comment 7 QA Administrators 2021-06-23 03:48:02 UTC Comment hidden (obsolete)
Comment 8 Franklin Weng 2021-06-23 13:31:53 UTC
Created attachment 173109 [details]
Still not work in Chinese

Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
Calc: threaded

For Chinese characters non-break space does not work.  I want the three words "新北市" connected together without being broken into two lines.

But for a long numbers like another attachment shows it works now - the number will be connected together and put into the next line.