* We will test with character 43775, which shouldn't get encoded.
* @throws Exception A problem
*/
public void testWriteNoEncoding() throws Exception {
Writer writer = new StringWriter();
Encoding encoding = new NoEncoding("utf8", 106);
CharsetEncodingWriter csew = new CharsetEncodingWriter(writer, encoding);
// Test char 43775 - should not be encoded.
String testString = "\uaaff";
csew.write(testString);
String result = writer.toString();