public setEncoding(encoding as String) as Void:
Sets the character encoding reported by Locator2.
Locator2
locator.setEncoding("UTF-8")