Skip to content
Tcl Source Code Check-in [d0cc6cdb7f]
Login

Check-in [d0cc6cdb7f]

Overview
Comment:Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test string-22.14 indicates something is still not quite right. Now that Tcl_NumUtfChars() is not paying decoding prices, we let it spend to properly protect against overflow. [2738427]
Timelines: family | ancestors | descendants | both | dgp-utf-next
Files: files | file ages | folders
SHA3-256: d0cc6cdb7fd88938e1e62152f47954df9c1094dd203e4649f211731de8ff4914
User & Date: dgp on 2020-04-14 21:16:43.648
Other Links: branch diff | manifest | tags
Context
2020-04-14
21:25
Fix the bad logic in Tcl_UtfNext(). check-in: eb95fbb884 user: dgp tags: dgp-utf-next
21:16
Replace calls of TclUtfToUniChar() with TclUtfNext() when caller has no decoding need. Failing test ... check-in: d0cc6cdb7f user: dgp tags: dgp-utf-next
20:18
Create and use an optimized macro TclUtfNext() for Tcl_UtfNext(). check-in: 7a62f79951 user: dgp tags: dgp-utf-next
Changes