*8634* fix character parsing with encoded characters