Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
warp
on June 22, 2009
|
parent
|
context
|
favorite
| on:
Repeat after me: Unicode is not UTF-\d{1,2}
UTF-8 uses less memory if your string happens to contain mostly characters that UTF-8 can represent in a single byte (like english text). I expect UTF-8 will actually use more memory if you're working with e.g. japanese, arabic, etc..
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: