@Override
		protected VtState handleNext(byte b, VtParser parser, VtHandler handler) {
			switch (b) {
				case '2':
					handler.handleSetCharset(parser.csG, VtCharset.TURKISH);
					return CHAR;
				case '6':
					handler.handleSetCharset(parser.csG, VtCharset.PORTUGESE);
					return CHAR;
				case '=':
					handler.handleSetCharset(parser.csG, VtCharset.HEBREW);
					return CHAR;
				case '0':
					handler.handleSetCharset(parser.csG, VtCharset.DEC_TURKISH);
					return CHAR;
				case '5':
					handler.handleSetCharset(parser.csG, VtCharset.DEC_SUPPLEMENTAL_GRAPHICS);
					return CHAR;
			}
			handler.handleCharExc((byte) 0x1b);
			return parser.doProcessByte(
				parser.doProcessByte(parser.doProcessByte(CHAR, parser.csG.b), (byte) '%'), b);
		}
We're selecting a two-byte charset, and we just encountered {@code %}.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtState.java