I am having the following error while executing the following command in django:
django-admin makemessages -l en
the error is this string: Please specify the source encoding through --from-code or through a comment as specified in http://www.python.org/peps/pep-0263.html.
the settings.py configurations is this:
LANGUAGE_CODE = 'ru'
LANGUAGES = [
('en', 'English'),
('ru', 'Russian'),
]
USE_I18N = True
LOCALE_PATHS = [
os.path.join(BASE_DIR, 'locale')
]
My django version is 2.1 and I am using pyCharm on Ubuntu 18.04. I did some research I found out that there is bug but it was corrected after some time.