@Override
		protected VtState handleNext(byte b, VtParser parser, VtHandler handler) {
			switch (b) {
				case '"':
					return CHARSET_QUOTE;
				case '%':
					return CHARSET_PERCENT;
				case '&':
					return CHARSET_AMPERSAND;
				case 'A':
					handler.handleSetCharset(parser.csG, VtCharset.UK);
					return CHAR;
				case 'B':
					handler.handleSetCharset(parser.csG, VtCharset.USASCII);
					return CHAR;
				case 'C':
				case '5':
					handler.handleSetCharset(parser.csG, VtCharset.FINNISH);
					return CHAR;
				case 'H':
				case '7':
					handler.handleSetCharset(parser.csG, VtCharset.SWEDISH);
					return CHAR;
				case 'K':
					handler.handleSetCharset(parser.csG, VtCharset.GERMAN);
					return CHAR;
				case 'Q':
				case '9':
					handler.handleSetCharset(parser.csG, VtCharset.FRENCH_CANADIAN);
					return CHAR;
				case 'R':
				case 'f':
					handler.handleSetCharset(parser.csG, VtCharset.FRENCH);
					return CHAR;
				case 'Y':
					handler.handleSetCharset(parser.csG, VtCharset.ITALIAN);
					return CHAR;
				case 'Z':
					handler.handleSetCharset(parser.csG, VtCharset.SPANISH);
					return CHAR;
				case '4':
					handler.handleSetCharset(parser.csG, VtCharset.DUTCH);
					return CHAR;
				case '=':
					handler.handleSetCharset(parser.csG, VtCharset.SWISS);
					return CHAR;
				case '`':
				case 'E':
				case '6':
					handler.handleSetCharset(parser.csG, VtCharset.NORWEGIAN_DANISH);
					return CHAR;
				case '0':
					handler.handleSetCharset(parser.csG, VtCharset.DEC_SPECIAL_LINES);
					return CHAR;
				case '<':
					handler.handleSetCharset(parser.csG, VtCharset.DEC_SUPPLEMENTAL);
					return CHAR;
				case '>':
					handler.handleSetCharset(parser.csG, VtCharset.DEC_TECHNICAL);
					return CHAR;
			}
			handler.handleCharExc((byte) 0x1b);
			return parser.doProcessByte(parser.doProcessByte(CHAR, parser.csG.b), b);
		}
We have encountered {@code ESC} and a charset-selection byte. Now we just need to know the
charset. Most are one byte, but there are some two-byte codes.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/vt/VtState.java