Bug 117554 - Non-breaking space, non-breaking hyphen, no-width no break don't work under zh_TW locale
Summary: Non-breaking space, non-breaking hyphen, no-width no break don't work under z...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK
  Show dependency treegraph
 
Reported: 2018-05-11 00:06 UTC by Franklin Weng
Modified: 2022-08-22 23:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
I want "新北市" connected together without being broken but didn't work (73.78 KB, image/png)
2018-05-11 00:06 UTC, Franklin Weng
Details
Here is what I saw in LO 6.1.2.1 (65.21 KB, image/png)
2018-10-18 14:58 UTC, Volga
Details
no-width no break didn't work (24.18 KB, image/png)
2018-11-16 13:53 UTC, Franklin Weng
Details
Still not work in Chinese (168.58 KB, image/png)
2021-06-23 13:31 UTC, Franklin Weng
Details

Note You need to log in before you can comment on or make changes to this bug.
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.