Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Locke1689
on Feb 8, 2011
|
parent
|
context
|
favorite
| on:
UTF-8 good, UTF-16 bad
Nope, that's the correct behavior. Run len on the UTF encode and you'll get the expected result.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: