(byte) (0xE3 & 0xff), (byte) (0x83 & 0xff), (byte) (0x9F & 0xff), // Mitsubishi, in Katakana
(byte) (0xE3 & 0xff), (byte) (0x83 & 0xff), (byte) (0x84 & 0xff),
(byte) (0xE3 & 0xff), (byte) (0x83 & 0xff), (byte) (0xBA & 0xff),
(byte) (0xE3 & 0xff), (byte) (0x82 & 0xff), (byte) (0xB7 & 0xff),
};
CDRInputStream stream = new CDRInputStream( orb, codedText );
selectCodeSets( stream, "ISO8859_1", "UTF8" );
assertEquals( "wchar 1", 'x', stream.read_wchar() );
assertEquals( "wchar 2", '\u05D0', stream.read_wchar() );
assertEquals( "wchar 3", '\u3051', stream.read_wchar() );
assertEquals( "wchar 4", '\u3074', stream.read_wchar() );
char[] buffer = new char[4];
buffer[0] = '\u05D0';
stream.read_wchar_array( buffer, 1, 3 );
assertEquals( "wchar array", "\u05D0\u05D1\u05D2\u05D3", new String( buffer ) );
assertEquals( "wstring value", "\u30DF\u30C4\u30FA\u30B7", stream.read_wstring() );
}