You are not logged in.
Hello,
I have an issue with my arch linux right now. I think i've messed up somewhere with my locale and now I can't work with any french document in libreoffice. I can send the page to print, but accents would either not come out at all or come out as Ø.
I can't save anything, can't convert to PDF because it crashes.
I tried to find a related topic but I think my keywords are bad, can't find any help.
locale gives:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_CH.UTF-8
LC_TIME=fr_CH.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=fr_CH.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=fr_CH.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=fr_CH.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
I would like to have everything working in en_US.utf8 but I want to be able to work on documents in french with the latin character set.
Any ideas?
Thanks
Hoohm
Last edited by Hoohm (2015-10-28 10:01:18)
Offline
Be sure you wanted locale are commented in /etc/locale.gen and generated with locale-gen. You can then see the available locale with locale -a. What I find strange is the quote in your locale, particularly in LC_CTYPE, what env | grep -E 'LC|LANG' gives? Try from a terminal:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
soffice
You could safely use the en_US.utf8 locale for every locale. Just configure LibreOffice correctly (Tool -> Option -> language settings).
Last edited by olive (2015-10-27 12:07:35)
Offline
Here is the locale -a
C
en_US.utf8
fr_CH.utf8
POSIX
I did what you proposed. Rebooted, didn't change anything.
Hmm, though, should LC_ALL be changed by now?
locale gives me:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fr_CH.UTF-8
LC_TIME=fr_CH.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=fr_CH.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=fr_CH.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=fr_CH.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Offline
maybe that can help:
This is what I get in journactl after trying to save a file in writer:
Process 1784 (soffice.bin) of user 1000 dumped core
Offline
To be very clear. You can type accent in libreoffice but they don't come correct when printed? Do they work correctly if you generate a pdf. I remember a thread where this happens with a specific, rarely used, font. Does it work with a "standard" font. Anyway if you have the accents on screen, then this is not a locale problem. Printed page or pdf should match what is on screen whatever the locale. Rendering a pdf is not locale dependent.
Last edited by olive (2015-10-27 17:16:23)
Offline
Yep, I can write them no problem. Creating a pdf crashes libreoffice as does saving it. No special fonts used, default.
There is another issue that came up lately, probably related.
I use rdesktop with the option: -k CH_fr which allows you to map a swiss-french keyboard on the remote desktop.
I used it no problem a few weeks ago, but not it doesn't work anymore. The error is: failed to open keymap CH_fr
EDIT: The naming of the keymap was false. Don't know how I modified it between two connections, but well, it should be used as: -k fr-ch and not CH_fr
Last edited by Hoohm (2015-10-28 10:03:25)
Offline
Using fresh, installed still -> solved.
Well, thanks, I don't how, but it fixed it!
Offline
Have same problem here, I installed "still", but I can't still print spanish accents. Accents can be written on document and are displayed correctly but when printing or exported to PDF, strange characters appear instead, no clue how could aI solve this.
Offline
Could you give more details. Especially a step by step instruction to reproduce the problem. What would be need is an explicit text that gives the problem as well as the font used. When I try to print text with some accents, it works for me (with the default Liberation Serif font).
Offline
Hello, and thanks, well, I did the test in LibreOffice 4.4.5.2 40m0(Build:2), installed from repo (extra/libreoffice-still 4.4.5-4). I just opened a new document, wrote the following characters down: "Ñ ñ á é í ó ú ü" using following font: "Nimbus Roman No9 L" which, for some reason, was the default when I tried, and when printed or exported to pdf I got strange characters. However following your advice, I wrote same characters in the same document, but using "dejavu sans" font, and accents where correctly exported. I think you already know why, I don't.
Offline