summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar fab <fabrice.leal.ch@gmail.com>2018-12-02 00:46:46 +0000
committerGravatar fab <fabrice.leal.ch@gmail.com>2018-12-02 00:46:46 +0000
commitb50f472e65c0ffca5d485049325caa51298daa1a (patch)
tree7d9acb9558a819764cc17f343916474995541956 /tests
parent5cc729b48aad084757a049b7e5cdbadae5e9e400 (diff)
1 bug fix and sorting out my own confusion: uw_Basis_char is already a codepoint, NOT the "serialized" utf8
Diffstat (limited to 'tests')
-rw-r--r--tests/utf8.ur5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/utf8.ur b/tests/utf8.ur
index 07ac9c3d..e7c7fd40 100644
--- a/tests/utf8.ur
+++ b/tests/utf8.ur
@@ -100,7 +100,10 @@ fun strcats () : transaction page =
{test_cat_and_len 5 "àà" "áá" "ààáá" 4}
{test_cat_and_len 6 "" "áá" "áá" 2}
{test_cat_and_len 7 "àà" "" "àà" 2}
- {test_cat_and_len 8 "函數" "ãã" "函數ãã" 4}
+ {test_cat_and_len 8 "函數" "ãã" "函數ãã" 4}
+ {test_cat_and_len 9 "ç" "ã" "çã" 2}
+ {test_cat_and_len 10 (show (strsub "ç" 0)) (show (strsub "ã" 0)) "çã" 2}
+ {test_cat_and_len 11 (show (chr 231)) (show (chr 227)) "çã" 2}
</body>
</xml>
end