public int getCharsetCharSize(String charsetName) {
		CharsetInfoRec rec = charsetInfoRecsByName.get(charsetName);
		return (rec != null) ? rec.charSize : 1;
	}
Returns the number of bytes that the specified charset needs to specify a
character.

@param charsetName charset name
@return number of bytes in a character, ie. 1, 2, 4, etc, defaults to 1
        if charset is unknown or not specified in config file.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/CharsetInfo.java