41
rated 0 times
[
46]
[
5]
/ answers: 1 / hits: 165416
/ 15 Years ago, mon, february 8, 2010, 12:00:00
I have a javascript string which is about 500K when being sent from the server in UTF-8. How can I tell its size in JavaScript?
I know that JavaScript uses UCS-2, so does that mean 2 bytes per character. However, does it depend on the JavaScript implementation? Or on the page encoding or maybe content-type?
More From » string