mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-08-02 03:30:52 -05:00
Implement Unicode normalisation.
A new module in 'utils' computes NFC and NFD, via a new set of data tables generated by read_ucd.py. The new module comes with a new test program, which can read the NormalizationTest.txt that appears in the Unicode Character Database. All the tests pass, as of Unicode 15.
This commit is contained in:
@@ -85,6 +85,11 @@ add_executable(test_decode_utf8
|
||||
target_compile_definitions(test_decode_utf8 PRIVATE TEST)
|
||||
target_link_libraries(test_decode_utf8 utils ${platform_libraries})
|
||||
|
||||
add_executable(test_unicode_norm
|
||||
utils/unicode-norm.c)
|
||||
target_compile_definitions(test_unicode_norm PRIVATE TEST)
|
||||
target_link_libraries(test_unicode_norm utils ${platform_libraries})
|
||||
|
||||
add_executable(test_tree234
|
||||
utils/tree234.c)
|
||||
target_compile_definitions(test_tree234 PRIVATE TEST)
|
||||
|
Reference in New Issue
Block a user