Overview
| Artifact ID: | a6b805b864b54c83fe7dda309516281bd4fba278 |
|---|---|
| Ticket: | 2564363fffffffffffffffffffffffffffffffff
string equality testing does not cover encoding variants |
| User & Date: | dgp on 2009-02-04 22:55:05 |
Changes
- icomment:
extended example showing the inconsistency due to shimmering, and differing definitions of equality for different intreps: % set a [encoding convertfrom identity \x21] ! % set b [encoding convertfrom identity \xc0\xa1] ! % set s string; # Force direct evaluation - no compile! string % $s equal $a $b 0 % string length $a; # Convert to the "string" objType 1 % string length $b 1 % $s equal $a $b 1
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"