Bug 151986 (ZWNJ-ZWJ)

Summary: [META] Problems with the zero-width non-joiner (ZWNJ) and zero-width joiner (ZWJ)
Product: LibreOffice Reporter: Hossein <hossein>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: afshin
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on: 114160, 134538, 150511, 150512, 151985, 60427, 121296, 131736, 139224, 148053, 151983    
Bug Blocks:    

Description Hossein 2022-11-09 23:18:32 UTC
This is a meta issue to track all the bugs related to the zero-width non-joiner (ZWNJ) and zero-width joiner (ZWJ) characters.

Feel free to add related bugs.

Description:

Zero-width non-joiner (ZWNJ, U+200C, &zwnj;) and zero-width joiner (ZWJ, U+200D, &zwj;) are special Unicode character that are used in many writing systems. ZWNJ creates an optional break, or avoids creating ligatures. ZWJ does the opposite, and puts a character (for example an Arabic character) in a joining mode.

These special Unicode characters are used in many languages including Arabic, Persian, Malay, Hebrew, Nepali Bengali, and even German and English.

In Microsoft Word, ZWNJ it is called "No-width optional break" in the special characters, and Ctrl+Space is usually assigned for creating it. ZWJ is called "No-Width Non Break". To see this in MS Word, you must choose "Insert" > "Symbols" > "More Symbols..." and then go to "Special Character" tab.

In Persian Microsoft keyboard on Windows, pressing Ctrl+Shift+1 generates ZWJ, and Ctrl+Shift+2 generates ZWNJ.

In Linux Persian keyboard, pressing Shift+b generates ZWNJ, and pressing backtick key (`) generates ZWJ.

You can read more here:

Zero-width non-joiner
https://en.wikipedia.org/wiki/Zero-width_non-joiner

Zero-width joiner
https://en.wikipedia.org/wiki/Zero-width_joiner
Comment 1 افشین 2022-11-10 12:06:24 UTC
In Linux Persian keyboard, pressing Shift+Space generates ZWNJ