fix for incompatible encoding error (ugps-574)