GNU bug report logs - #36180
Problem with non ASCII chars in Libreoffice and zsh on foreign distro

Previous Next

Package: guix;

Reported by: Andréas Livet <andreas <at> livet.me>

Date: Wed, 12 Jun 2019 13:55:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36180 in the body.
You can then email your comments to 36180 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Wed, 12 Jun 2019 13:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andréas Livet <andreas <at> livet.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 12 Jun 2019 13:55:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andréas Livet <andreas <at> livet.me>
To: bug-guix <at> gnu.org
Subject: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
Date: Wed, 12 Jun 2019 15:49:44 +0200
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






Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Thu, 13 Jun 2019 08:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 36180 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andréas Livet <andreas <at> livet.me>
Cc: 36180 <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Thu, 13 Jun 2019 10:02:08 +0200
Hello Andréas,

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

> 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:

  https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales

?

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’.




Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Thu, 13 Jun 2019 12:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 36180 <at> debbugs.gnu.org (full text, mbox):

From: Andréas Livet <andreas <at> livet.me>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 36180 <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Thu, 13 Jun 2019 14:11:27 +0200
[Message part 1 (text/plain, inline)]
Hello Ludo,

Thanks for your reply !

> 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
> 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>`

> Do you see any locale-related warnings?
I had those warnings but fix them with instructions given in 
https://issues.guix.info/issue/36074
> Thanks for reporting the issue!

And thank for taking tare of it ! :D

Andréas

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Thu, 13 Jun 2019 12:36:02 GMT) Full text and rfc822 format available.

Message #14 received at 36180 <at> debbugs.gnu.org (full text, mbox):

From: Andréas Livet <andreas <at> livet.me>
To: 36180 <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Thu, 13 Jun 2019 14:35:00 +0200
[Message part 1 (text/plain, inline)]

> 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 !

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Fri, 14 Jun 2019 11:17:02 GMT) Full text and rfc822 format available.

Message #17 received at 36180 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andréas Livet <andreas <at> livet.me>
Cc: 36180 <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Fri, 14 Jun 2019 13:16:17 +0200
Hello,

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

>> 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.

> 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’.




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Fri, 14 Jun 2019 17:25:01 GMT) Full text and rfc822 format available.

Notification sent to Andréas Livet <andreas <at> livet.me>:
bug acknowledged by developer. (Fri, 14 Jun 2019 17:25:02 GMT) Full text and rfc822 format available.

Message #22 received at 36180-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Andréas Livet <andreas <at> livet.me>
Cc: 36180-done <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh
 on foreign distro
Date: Fri, 14 Jun 2019 19:24:35 +0200
On Thu, Jun 13, 2019 at 02:35:00PM +0200, Andréas Livet wrote:
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for LibreOffice
> AND zsh !!

Closing the bug then.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Fri, 14 Jun 2019 21:20:02 GMT) Full text and rfc822 format available.

Message #25 received at 36180-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andréas Livet <andreas <at> livet.me>
Cc: 36180-done <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Fri, 14 Jun 2019 23:18:53 +0200
Andréas Livet <andreas <at> livet.me> skribis:

>> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#36180; Package guix. (Sat, 15 Jun 2019 12:59:02 GMT) Full text and rfc822 format available.

Message #28 received at 36180-done <at> debbugs.gnu.org (full text, mbox):

From: Andréas Livet <andreas <at> livet.me>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 36180-done <at> debbugs.gnu.org
Subject: Re: bug#36180: Problem with non ASCII chars in Libreoffice and zsh on
 foreign distro
Date: Sat, 15 Jun 2019 14:58:32 +0200
Thanks for your help, GUIX is really awesome and I enjoy using it !





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Jul 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.