some localization and encoding problems