public getEncoding() as String
Returns the character encoding for the current entity.
Encoding name, or null.
null
encoding = locator.getEncoding()