I need to count how long in bytes a textarea is when UTF8 encoded using javascript. Any idea how I would do this?
thanks!
set meta UTF-8 just & it's OK!
meta UTF-8
and js:
if($mytext.length > 10){ // its okkk :) }