assertEquals("h\\u225all{\\uc2\\u339oe}", layout.format("h\\'all\\oe "));
}
public void testSpecialCharacters() {
LayoutFormatter layout = new RTFChars();
assertEquals("\\u243o", layout.format("\\'{o}")); // �
assertEquals("\\'f2", layout.format("\\`{o}")); // �
assertEquals("\\'f4", layout.format("\\^{o}")); // �
assertEquals("\\'f6", layout.format("\\\"{o}")); // �
assertEquals("\\u245o", layout.format("\\~{o}")); // �
assertEquals("\\u333o", layout.format("\\={o}"));
assertEquals("\\u334O", layout.format("\\u{o}"));
assertEquals("\\u231c", layout.format("\\c{c}")); // �
assertEquals("{\\uc2\\u339oe}", layout.format("\\oe"));
assertEquals("{\\uc2\\u338OE}", layout.format("\\OE"));
assertEquals("{\\uc2\\u230ae}", layout.format("\\ae")); // �
assertEquals("{\\uc2\\u198AE}", layout.format("\\AE")); // �
assertEquals("", layout.format("\\.{o}")); // ???
assertEquals("", layout.format("\\v{o}")); // ???
assertEquals("", layout.format("\\H{a}")); // � // ???
assertEquals("", layout.format("\\t{oo}"));
assertEquals("", layout.format("\\d{o}")); // ???
assertEquals("", layout.format("\\b{o}")); // ???
assertEquals("", layout.format("\\aa")); // �
assertEquals("", layout.format("\\AA")); // �
assertEquals("", layout.format("\\o")); // �
assertEquals("", layout.format("\\O")); // �
assertEquals("", layout.format("\\l"));
assertEquals("", layout.format("\\L"));
assertEquals("{\\uc2\\u223ss}", layout.format("\\ss")); // �
assertEquals("", layout.format("?`")); // �
assertEquals("", layout.format("!`")); // �
assertEquals("", layout.format("\\dag"));
assertEquals("", layout.format("\\ddag"));
assertEquals("", layout.format("\\S")); // �
assertEquals("", layout.format("\\P")); // �
assertEquals("", layout.format("\\copyright")); // �
assertEquals("", layout.format("\\pounds")); // �
}