@Test
    public void testMS932Extraction() throws Exception {
        XMLResult xmlResult = getXML("testRTF-ms932.rtf");
        // Hello in Japanese
        assertTrue(xmlResult.xml.contains("\u3053\u3093\u306b\u3061\u306f"));

        // Verify title, since it was also encoded with MS932:
        assertEquals("\u30bf\u30a4\u30c8\u30eb", xmlResult.metadata.get(TikaCoreProperties.TITLE));
    }
Junit test class for the Tika {@link RTFParser}
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/java/org/apache/tika/parser/microsoft/rtf/RTFParserTest.java