Overview
| Artifact ID: | e8257216a46ee47a5f22f08a56950f7678a9b409c9d961ede6e5d410ff00d6a0 |
|---|---|
| Ticket: | 493dccc2def8f673fba39d1d144fc6a35b5b9a5c
Taming test utf-2.11 |
| User & Date: | sebres on 2020-04-22 13:20:24 |
Changes
- icomment:
<blockquote><i>> 1. "format %c" uses Tcl_UniCharToUtf() to convert the integer to a UTF-8 byte sequence.<br/> > 2. This function returns the UTF-8 sequence of \xFFFD for out-of range Unicode character values. </i></blockquote> Sure, but either 1 or 2 can change in some version (or derivation). But OK, I understand.<br/> Nevertheless I would at least change it to something more clear and less conditional, like this: <pre> [expr {[scan [format %c 0x010000] %c] != 0x010000}] </pre> - login: "sebres"
- mimetype: "text/x-fossil-wiki"