there's no way j was intended to be used as a rtl_TextEncoding here. From context it's clearly meant to create a UniString from a subset of the input ByteString Change-Id: Ic0a0773f90686d73ec4eb8b8e03a454585758578