Specs: My OS is 13.2 with all the latest updates.
Hi,
I’m in the process of setting up MythTV on my system and there’s plenty of issues to work through – I still haven’t got past the backend setup.
In the process of all this the setup suggested I run mythfilldatabase, so I did.
As it was running this message came up:
This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as ‘en_US.UTF-8’).
so I did a “locale” and it returned this:
LANG=POSIX
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Researching it there’s a fairly easy way to change this by simply running the command:
localedef -i en_US -f UTF-8 en_US.UTF-8
however doing a little further digging I’m not sure if this is what I want to do.
My understanding is that the reason that local is set to POSIX is that Linux can make intelligent decisions on a character encoding (and probably other things to do with locale) rather than be stuck in UTF-8.
Thinking this it would seem me that Linux would serve up UTF-8 if needed so that MythTV will be just fine so it should be fine if I leave the locale as is.
However, this is just my best guess based on what I have read so far so and I would appreciate some knowledge from someone who knows for sure, or at least has a better informed judgement than my 1 hour or so of reading up on the issue.
That being said, if that’s not the case and MythTV should really be given the character encoding that it wants then perhaps someone knows how to do that just for that program rather than making a system wide change.
Finally, when I did run
localedef -i en_US -f UTF-8 en_US.UTF-8
I got the error message:
character map file
UTF-8' not found: No such file or directory cannot read character map directory
/usr/share/i18n/charmaps’: No such file or directory
so if someone knows whether that’s something I should be concerned about please to let me know.