by mikezter1 · 8y ago · 0 comments
You'll have to admit that the encoding is a property of a string, just like the content itself. As always, you as a programmer are bound to know both of these properties to have predictable results. To compare two strings of different encoding to one another, you'll have to find a common ground for interpreting the data contained in the string.
If you don't want or need that, then all you have is a "string" of bytes.