in reply to Re^4: How to reverse a (Unicode) string
in thread How to reverse a (Unicode) string
You seem to be confusing "1-to-1" mapping, and "identity function". While the identity function is a trivial "1-to-1" mapping, it's not true every "1-to-1" mapping is the identity function.
However, even side-stepping that, Juerd doesn't mean byte values map 1-to-1. The mapping is after decoding. For instance, the UTF-8 byte sequence 0x82 0xC3 decodes to C2. Which indeed does map to the C2 Unicode code point.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How to reverse a (Unicode) string
by ikegami (Patriarch) on Jan 10, 2011 at 15:50 UTC | |
by JavaFan (Canon) on Jan 10, 2011 at 16:17 UTC | |
Re^6: How to reverse a (Unicode) string
by ikegami (Patriarch) on Jan 10, 2011 at 16:15 UTC | |
by JavaFan (Canon) on Jan 10, 2011 at 16:29 UTC | |
by ikegami (Patriarch) on Jan 10, 2011 at 16:38 UTC | |
by JavaFan (Canon) on Jan 10, 2011 at 16:48 UTC | |
by ikegami (Patriarch) on Jan 11, 2011 at 00:07 UTC |
In Section
Tutorials