You cannot calculate size of the string in bytes? I am not Java expert, but this must be easy.
 
Jan
"Johan Compagner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
how can we made that reliable ??
Because utf-8 can be 8 bits or 16 or i think 24 per char. Depending on what it really needs..

What does for example a JSP do it its servlet generated form if you use UTF-8??
Or doesn't he set anything?

Reply via email to