Something like
http://scriptasylum.com/tutorials/encdec/javascript_encoder.html
Basically, like utf8 but encode every character rather than just the special ones.
I think that the ultimate answer is going to depend on what it is you want to encode and, more importantly, what you plan to do with the result of the encoding.
That's not UTF-8.