Problem with non ASCII chars in Libreoffice and zsh on foreign distro

  • Done
  • quality assurance status badge
Details
3 participants
  • Andreas Enge
  • Andréas Livet
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andréas Livet
Severity
normal

Debbugs page

Andréas Livet wrote 6 years ago
(address . bug-guix@gnu.org)
982ae7d2-aa8a-7739-2cfa-81b557877d17@livet.me
Hi,

Guix is an amazing piece of software and I want to learn more about it.

Before installing GuixSD on my machine, I started playing with Guix on
my Xubuntu 18.04 system.

Starting to replace apt installed software with guix ones.

It works pretty well but I'm having some trouble with non ASCII
characters in filenames.

* I can't open files with non ASCII characters in LibreOffice

* I can't type non ASCII characters in zsh (though I can with guix
installed bash)

I thought the problem was related to : https://issues.guix.info/issue/36074

But after applying the patch and restart systemd, I still got my issues.

Thanks for your help
Ludovic Courtès wrote 6 years ago
(name . Andréas Livet)(address . andreas@livet.me)(address . 36180@debbugs.gnu.org)
878su59am7.fsf@gnu.org
Hello Andréas,

Andréas Livet <andreas@livet.me> skribis:

Toggle quote (8 lines)
> It works pretty well but I'm having some trouble with non ASCII
> characters in filenames.
>
> * I can't open files with non ASCII characters in LibreOffice
>
> * I can't type non ASCII characters in zsh (though I can with guix
> installed bash)

Did you install ‘glibc-locales’ and set ‘GUIX_LOCPATH’ as explained in:


?

You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
LibreOffice and zsh.

Do you see any locale-related warnings?

Thanks for reporting the issue!

Ludo’.
Andréas Livet wrote 6 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36180@debbugs.gnu.org)
53b3272d-0f0a-b005-9a92-05e977bb91d3@livet.me
Hello Ludo,

Thanks for your reply !

Toggle quote (5 lines)
> Did you install ‘glibc-locales’ and set ‘GUIX_LOCPATH’ as explained in:
>
> https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales
>
> ?
Yes
Toggle quote (3 lines)
> You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
> LibreOffice and zsh.

Good catch for Libreoffice, I didn't thought about that since I use to
open LO files with Thunar (it raise an other question : how to set
GUIX_LOCPATH for applications that I do not from command line, but it's
not related to guix).

But for zsh, `GUIX_LOCPATH` was already setted.

Each time I type a non ASCII letter, eg `é` it display :
`<ffffffff><ffffffff>`

Toggle quote (1 lines)
> Do you see any locale-related warnings?
I had those warnings but fix them with instructions given in
Toggle quote (2 lines)
> Thanks for reporting the issue!

And thank for taking tare of it ! :D

Andréas
Attachment: file
Andréas Livet wrote 6 years ago
(address . 36180@debbugs.gnu.org)
b4595c98-6ea7-df78-b46e-51477ced6705@livet.me
Toggle quote (5 lines)
> Good catch for Libreoffice, I didn't thought about that since I use to
> open LO files with Thunar (it raise an other question : how to set
> GUIX_LOCPATH for applications that I do not from command line, but
> it's not related to guix).
>
I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for
LibreOffice AND zsh !!

Don't understand why setting it in ~/.zshrc wasn't enough ??

Anyway, thanks for pointing me to the right direction !
Attachment: file
Ludovic Courtès wrote 6 years ago
(name . Andréas Livet)(address . andreas@livet.me)(address . 36180@debbugs.gnu.org)
874l4sl8n2.fsf@gnu.org
Hello,

Andréas Livet <andreas@livet.me> skribis:

Toggle quote (8 lines)
>> You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
>> LibreOffice and zsh.
>
> Good catch for Libreoffice, I didn't thought about that since I use to
> open LO files with Thunar (it raise an other question : how to set
> GUIX_LOCPATH for applications that I do not from command line, but
> it's not related to guix).

Awesome.

Toggle quote (5 lines)
> But for zsh, `GUIX_LOCPATH` was already setted.
>
> Each time I type a non ASCII letter, eg `é` it display :
> `<ffffffff><ffffffff>`

Hmm that I don’t know. It could have to do with your terminal emulator, too.

Thanks,
Ludo’.
Andreas Enge wrote 6 years ago
(name . Andréas Livet)(address . andreas@livet.me)(address . 36180-done@debbugs.gnu.org)
20190614172435.GB2238@jurong
On Thu, Jun 13, 2019 at 02:35:00PM +0200, Andrï¿œas Livet wrote:
Toggle quote (3 lines)
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for LibreOffice
> AND zsh !!

Closing the bug then.

Andreas
Closed
Ludovic Courtès wrote 6 years ago
(name . Andréas Livet)(address . andreas@livet.me)(address . 36180-done@debbugs.gnu.org)
87k1dnj26a.fsf@gnu.org
Andréas Livet <andreas@livet.me> skribis:

Toggle quote (10 lines)
>> Good catch for Libreoffice, I didn't thought about that since I use
>> to open LO files with Thunar (it raise an other question : how to
>> set GUIX_LOCPATH for applications that I do not from command line,
>> but it's not related to guix).
>>
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for
> LibreOffice AND zsh !!
>
> Don't understand why setting it in ~/.zshrc wasn't enough ??

Ah that’s because it needs to be set in the environment of zsh when you
start it. Great that you found out!

Thanks,
Ludo’.
Closed
Andréas Livet wrote 6 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36180-done@debbugs.gnu.org)
e2111d5e-5418-20e3-0db2-37e89d64563c@livet.me
Thanks for your help, GUIX is really awesome and I enjoy using it !
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 36180@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 36180
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help