locale set to .utf8, not .UTF-8, causes problems in some applications
[Edit] According to RFC documents, *-UTF-8
is the standard. In most cases, using *.utf8
should be equally recognized, but my humble tests suggest that there are some apps that expect only the standard format and will fail to display any UTF-8 characters if the locale is set using the *-utf8
formatting.
The locale is set to xx_XX.utf8
in Sailfish. This causes issue in some applications.
Setting my language in my environment manually as follows solves it because it overrides the default locale name:
LANG="en_GB.UTF-8"
export LANG
Is there a reason why changing the language in the SFOS UI sets it to xx_XX.utf8
? This format should work in most cases on Linux, but there are some issues that the standard format should prevent.
I recall having problems when I wrote
to my shell scripts -- worked fine in linux but failed in MacOSX (and probably *BSD) machines
after i changed the above to
then the scripts worked much better on any of the above systems.
(note that LC_ALL should override LANG (and probably LANGUAGE) but that doesn't happen always, therefore LANG also set (and LANGUAGE unset -- cannot remember just now that that did...)
too ( 2020-06-28 19:19:36 +0200 )edit