in reply to Re^3: Mixed Unicode and ANSI string comparisons?
in thread Mixed Unicode and ANSI string comparisons?
Plain "c" in ASCII is indistinguishable from the "c" in UTF-8.
I thought that the utf flag would distinguish strings that you've asked to be utf8 encoded; from those you haven't. Even if they both contain the same 7-bit codes.
If that's not the case; perl's Unicode support is even more broken than I thought.
In fact, all the 7-bit ASCII are part of the UTF-8.
And if the non-Unicode strings contain 8-bit chars?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Mixed Unicode and ANSI string comparisons?
by choroba (Cardinal) on Dec 15, 2015 at 08:44 UTC | |
by BrowserUk (Patriarch) on Dec 15, 2015 at 10:36 UTC |