static castAsNonUtf8Char(code, encoding = null) {
			// ISO 8859-1 is the Java default as UTF-8 is JavaScripts
			// you can see this method as a Java version of String.fromCharCode
			const e = encoding ? encoding.getName() : this.ISO88591;
			// use passed format (fromCharCode will return UTF8 encoding)
			return StringEncoding.decode(new Uint8Array([code]), e);
		}
Common string-related functions.

@author Sean Owen
@author Alex Dupre