Much thanks to SIL and all their hard work on improving (and fixing) the code for LibreOffice allowing it to correctly and automatically break Khmer words without the user having to insert zero-width spaces manually. If you are interested in trying it out yourself visit the nightly builds for LibreOffice here and download the version for your operating system: LibreOffice Nightly Builds

You can also access the source code of the automatic word breaker for Khmer at GitHub here.

The source is based on frequency dictionaries of Khmer words with probability counts as well as a long list of names and places in Khmer.

Is it possible to extend the work already done to create a tool that adds zero-width spaces to a block of text? Then this solution could be applied independently of LibreOffice (or text could be taken out of LibreOffice and used in, say, LaTeX.

Hello Nathan Wells, I find that you help us very much on Khmer typing, by the way I still can’t see zwsp in my article in LibreOfficeDev 6.2. First, I wrote my article in Libre, and copy, paste into my WordPress and I view in Firefox, there is no result, no zwsp in it! https://tvsiemreap.com/2018/07/16/uncategorized/301/
I failed with zwsp! Can you help me how to add automatically zwsp in khmer article?