2 ms·
> The solution used involves re-checking for UTF-8 validity a lot, You only need to check once, at the boundary of when you're converting from something that m
by steveklabnik 9y ago
> The solution used involves re-checking for UTF-8 validity a lot,
You only need to check once, at the boundary of when you're converting from something that may or may not be UTF-8 to a UTF-8 string.