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

DoneSubmitted by Andréas Livet.
A
A
Andréas Livet wrote on Wed Jun 12 15:49:44+0200 2019
(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
L
L
Ludovic Courtès wrote on Thu Jun 13 10:02:08+0200 2019
(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:

> 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’.
A
A
Andréas Livet wrote on Thu Jun 13 14:11:27+0200 2019
(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 !

> 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>Hello Ludo,</p>
<p>Thanks for your reply !</p>
<p>
</p>
<blockquote type="cite" cite="mid:878su59am7.fsf@gnu.org">
<pre class="moz-quote-pre" wrap="">Did you install ‘glibc-locales’ and set ‘GUIX_LOCPATH’ as explained in:

<a class="moz-txt-link-freetext" href="https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales">https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales</a>

?
</pre>
</blockquote>
Yes<br>
<blockquote type="cite" cite="mid:878su59am7.fsf@gnu.org">
<pre class="moz-quote-pre" wrap="">
You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
LibreOffice and zsh.
</pre>
</blockquote>
<p>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).</p>
<p>But for zsh, `GUIX_LOCPATH` was already setted.</p>
<p>Each time I type a non ASCII letter, eg `é` it display :
`&lt;ffffffff&gt;&lt;ffffffff&gt;`
</p>
<blockquote type="cite" cite="mid:878su59am7.fsf@gnu.org">
<pre class="moz-quote-pre" wrap="">Do you see any locale-related warnings?
</pre>
</blockquote>
I had those warnings but fix them with instructions given in <span
class="line"><a class="moz-txt-link-freetext" href="https://issues.guix.info/issue/36074">https://issues.guix.info/issue/36074</a></span>
<span class="line"></span>
<blockquote type="cite" cite="mid:878su59am7.fsf@gnu.org">
<pre class="moz-quote-pre" wrap="">Thanks for reporting the issue!</pre>
</blockquote>
<p>And thank for taking tare of it ! :D</p>
<p>Andréas<br>
</p>
</body>
</html>
A
A
Andréas Livet wrote on Thu Jun 13 14:35:00+0200 2019
(address . 36180@debbugs.gnu.org)
b4595c98-6ea7-df78-b46e-51477ced6705@livet.me
> 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 !
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<blockquote type="cite"
cite="mid:53b3272d-0f0a-b005-9a92-05e977bb91d3@livet.me">
<p>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).</p>
</blockquote>
<p>I just have to add <span class="line">GUIX_LOCPATH to
~/.xsessionrc and it works for LibreOffice AND zsh !!</span></p>
<p><span class="line">Don't understand why setting it in ~/.zshrc
wasn't enough ??</span></p>
<p><span class="line">Anyway, thanks for pointing me to the right
direction !<br>
</span></p>
<p><span class="line"></span></p>
</body>
</html>
L
L
Ludovic Courtès wrote on Fri Jun 14 13:16:17+0200 2019
(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:

>> 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’.
A
A
Andreas Enge wrote on Fri Jun 14 19:24:35+0200 2019
(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:
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for LibreOffice
> AND zsh !!

Closing the bug then.

Andreas
Closed
L
L
Ludovic Courtès wrote on Fri Jun 14 23:18:53+0200 2019
(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:

>> 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
A
A
Andréas Livet wrote on Sat Jun 15 14:58:32+0200 2019
(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

Comments via the web interface are not currently supported. To comment on this conversation send email to 36180@debbugs.gnu.org

3 participants
  • Andreas Enge
  • Andréas Livet
  • Ludovic Courtès
Owner
unassigned
Severity
normal
Status
Done