acu166502 Back out setting globals, force encodings at app level