Character counting - UTF-16 / UTF-8

If I was to create a script to count characters for a Tweet, how would doing so in JavaScript effect the 140 characters?

This may help: http://stackoverflow.com/questions/2848462/count-bytes-in-textarea-using-javascript/8123385#8123385