@Test
	public void testEncodeSimpleASCIIChar() throws DataTypeEncodeException {
		assertArrayEquals(bytes('a'),
			charDT.encodeRepresentation("'a'", mb(false), newset(), -1));
		assertArrayEquals(bytes('a'),
			ucharDT.encodeRepresentation("'a'", mb(false), newset(), -1));
		// TODO: UTF-8?
		assertArrayEquals(bytes('a', 0),
			wcharDT.encodeRepresentation("u'a'", mb(false), newset(), -1));
		assertArrayEquals(bytes('a', 0),
			wchar16DT.encodeRepresentation("u'a'", mb(false), newset(), -1));
		assertArrayEquals(bytes('a', 0, 0, 0),
			wchar32DT.encodeRepresentation("U'a'", mb(false), newset(), -1));

		assertArrayEquals(bytes('a'),
			charDT.encodeRepresentation("'a'", mb(true), newset(), -1));
		assertArrayEquals(bytes('a'),
			ucharDT.encodeRepresentation("'a'", mb(true), newset(), -1));
		// TODO: UTF-8?
		assertArrayEquals(bytes(0, 'a'),
			wcharDT.encodeRepresentation("u'a'", mb(true), newset(), -1));
		assertArrayEquals(bytes(0, 'a'),
			wchar16DT.encodeRepresentation("u'a'", mb(true), newset(), -1));
		assertArrayEquals(bytes(0, 0, 0, 'a'),
			wchar32DT.encodeRepresentation("U'a'", mb(true), newset(), -1));
	}
Test rendering of various Char data types.
<p>
TODO: force the WideCharDataType instance's dataOrg to switch to 32bit.
Ghidra/Framework/SoftwareModeling/src/test/java/ghidra/program/model/data/CharDataTypesRenderTest.java