Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mikezter1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mikezter1
8y ago
The encoding is a property of the string, just like the content, just as with any other object. If you want to compare strings with different encodings, you'll have to convert at least one of them. I was never forced into encoding hell
2.
▲
by
mikezter1
8y ago
> The encoding of a string should never cause a comparison to fail when the two strings are equivalent except for the encoding. You'll have to admit that the encoding is a property of a string, just like the content itself. As alway