(FACT-134) Normalize and validate string encodings