correction of IEncoding/IString interface and implementations