protected String getUnicodeString(byte[] bytes) {
		StringBuffer strBuf = new StringBuffer(bytes.length + 2);
		boolean bytemode = true;
		for (int index = 0; index < bytes.length; index += 2) {
			char c = 0;
			if (program.getLanguage().isBigEndian()) {
				c = (char) ((bytes[index + 1] & 0xff) | ((bytes[index] << 8) & 0xff00));
			}
			else {
				c = (char) ((bytes[index] & 0xff) | ((bytes[index + 1] << 8) & 0xff00));
			}
			if (Character.isDefined(c) && c > 31) {
				if (bytemode) {
					if (index != 0) {
						strBuf.append(',');
					}
					strBuf.append('\"');
				}
				strBuf.append(c);
				bytemode = false;
			}
			else {
				if (!bytemode) {
					strBuf.append('\"');
				}
				if (index != 0) {
					strBuf.append(',');
				}
//                strBuf.append("\\u");
				strBuf.append(StringFormat.hexWordString((short) c));
				bytemode = true;
			}
		}
		if (!bytemode) {
			strBuf.append('\"');
		}
		return strBuf.toString();
	}
Test MNEMONIC data setting
@param testDefaultSetting if true test default setting, else test instance setting for data2
@param insideStruct data are inside two structure instances
@param commonStruct data structures are the same type
@param data1 data at some location with same type as data2
@param data2 data at current location
@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/data/AbstractDataActionTest.java