int upto=start;
for (int i = start; i < length; i++) {
char aChar = chars[i];
CharacterRepresentable rep =
encoding.checkCharacter(aChar);
if (rep.notRepresentable()) {
if (upto < i) {
handler.addContentValue(strings.create(
chars, upto, i - upto));
}
handler.addContentValueEntity(