3 ms·
Actually it's UTF8(ASCII) == ASCII iff ASCII < 128, since the MSB signifies a multi-byte character. http://en.wikipedia.org/wiki/UTF-8 http://en.wikipedia.org/
by m_eiman 17y ago
Actually it's UTF8(ASCII) == ASCII iff ASCII < 128, since the MSB signifies a multi-byte character.
http://en.wikipedia.org/wiki/UTF-8 http://en.wikipedia.org/wiki/UTF-8
Hm, on second thought UTF8(ASCII) is -always- == ASCII, since ASCII is only defined for 0-127, unless you count the extended variants :P
http://en.wikipedia.org/wiki/ASCII http://en.wikipedia.org/wiki/ASCII