Re: language-env: should configure UTF-8 for french (and most other languages?)
Frank Lin PIAT wrote:
> The encoding should be UTF-8 for French (and most language except Japan
> and a few others), AFAIK.
I'm not sure how language-env used the encoding, but it probably would be
even better if it would determine the actual default locale installed on
the system.
This can be done (even when run in a chroot or something) by:
- reading the default locale from /etc/default/locale
- maybe check that that locale is available
- run 'LC_ALL=$LOCALE chroot /target locale charmap'
The result of the last command is the encoding.
Reply to: