[arch-general] Opening a document with unicode in path

Pat Burroughs celti at celti.name
Fri Aug 2 18:29:00 UTC 2019


August 2, 2019 11:10 AM, "Eli Schwartz via arch-general" <arch-general at archlinux.org> wrote:

> The ls command will by default escape the character into its numeric
> code if it thinks the character is invalid in your locale. I can get ls
> to print the same thing as you (using shell-escaped $'\303\251') *iff* I
> first export LC_ALL=C (which is not a UTF-8 locale and therefore cannot
> print unicode characters).
> 
> This indicates something is wrong with your locale, because at the very
> least, your shell cannot parse the character correctly -- maybe neither
> can libreoffice.

"I forgot to generate the locales" will cause this issue. Try running
`localedef --list-archive` and checking that en_CA.UTF-8 actually exists.
If not, uncomment it in /etc/locale.gen and run `sudo locale-gen`.

~Celti


More information about the arch-general mailing list