public final static int utflen(String s) {
public final static int utflen(FastStringBuffer s) {
	public final static int utflen(String s) {		final int slen = s.length();		int len = 0;		for (int i = 0; i < slen; i++) {			final int code = (int) s.charAt(i);			if (code >= 0x01 && code <= 0x7F)				++len;			else if (((code >= 0x80) && (code <= 0x7FF)) || code == 0) {				len += 2;			} else {				len += 3;			}		}		return len;	}