Django-1.4c1.
When I run the command "python manage.py compilemessages", I got the error as follows:
Error: The /home/admin/Django-1.4c1/tests/regressiontests/i18n/commands/locale/es_AR/LC_MESSAGES/django.po file has a BOM (Byte Order Mark). Django only supports .po files encoded in UTF-8 and without any BOM.
Has anyone got this error?
Yes, just remove the BOM:
many brain-dead editors silently add BOMs to files when saving. being
a .po file, i'd guess somebody did a small localization by editing it
with the wrong tool.
--
Javier