Feedback on implementation of normalization in 9front
Jacob Moody
moody at posixcafe.org
Wed Apr 9 16:13:09 CDT 2025
Hello,
I've recently completed a project in implementing Unicode normalization for 9front(a fork of Plan 9).
We specifically implemented only NFC and NFD normalization.
Our implementation passes all of the standard NormalizationTest.txt published by the consortium.
The interface we settled upon is described in our relevant manual page[0]. The relevant source
is referenced at the bottom of the manual and the implementation can be found on our github mirror[1].
I've also provided links to the specific files within the repo for convenience.[2][3]
I don't have professional experience implementing things like this, and for licensing reasons I avoided studying
other implementations and used the test suites and the standard as a guide. Given that I am somewhat
curious if what I have simply works, or if it is correct.
Thank you,
Jacob Moody
[0] http://man.9front.org/2/runecomp
[1] https://github.com/9front/9front
[2] https://github.com/9front/9front/blob/front/sys/src/libc/port/runenorm.c (normalization implementation)
[3] https://github.com/9front/9front/blob/front/sys/src/libc/port/mkrunetype.c (table generation)
More information about the Unicode
mailing list