} catch (UnsupportedEncodingException uee) {
text = "' invalid encoded string";
}
Transcoder transcoder = TranscoderUtil.getDefaultTranscoder();
try {
text = transcoder.decode(text);
} catch (IOException ioe) {
text = "' unable to decode string";
}
// encapsulate the UML syntax if necessary