Hi
I've upgraded my Fedora KDE 27 to 29 recently. Now I cannot open documents, etc. that contains Danish letters.
In Regional->Language settings I have British English set with dansk as a second choice, because I prefer to have all program menus etc. in English rather than mixed English and Danish.
In Regional->Format settings I have Danmark set for the region an also in the Detailed settings everything is set to Danmark for numbers, time, currency, measurement unit and collation and sorting.
Anytime a file or the path to the file contains æ, ø, å, Æ, Ø or Å Libreoffice fails to load the document. In the previous version of Fedora it worked well.
What could be wrong?
|<
On 11/21/18 9:41 PM, Klaus Kolle wrote:
I've upgraded my Fedora KDE 27 to 29 recently. Now I cannot open documents, etc. that contains Danish letters.
In Regional->Language settings I have British English set with dansk as a second choice, because I prefer to have all program menus etc. in English rather than mixed English and Danish.
In Regional->Format settings I have Danmark set for the region an also in the Detailed settings everything is set to Danmark for numbers, time, currency, measurement unit and collation and sorting.
Anytime a file or the path to the file contains æ, ø, å, Æ, Ø or Å Libreoffice fails to load the document. In the previous version of Fedora it worked well.
What could be wrong?
I tried what you're doing on an newly installed F29 system and it works OK.
I note that in F27 libreoffice was version 5.4 while in F29 it is now 6.1. It may be a configuration issue with the version changes of libreoffice, just a guess.
I would create a new user and see if that new user has the same issues.
FWIW, the file I tested with was ~/ååå/å.odt.
Sorry, I'm more familiar with CJK character sets than European. :-)
Oh, in testing my locale was
LANG=da_DK.UTF-8 LC_CTYPE="da_DK.UTF-8" LC_NUMERIC=da_DK.UTF-8 LC_TIME=da_DK.UTF-8 LC_COLLATE=da_DK.UTF-8 LC_MONETARY=da_DK.UTF-8 LC_MESSAGES="da_DK.UTF-8" LC_PAPER="da_DK.UTF-8" LC_NAME="da_DK.UTF-8" LC_ADDRESS="da_DK.UTF-8" LC_TELEPHONE="da_DK.UTF-8" LC_MEASUREMENT=da_DK.UTF-8 LC_IDENTIFICATION="da_DK.UTF-8" LC_ALL=
Klaus Kolle wrote:
Anytime a file or the path to the file contains æ, ø, å, Æ, Ø or Å Libreoffice fails to load the document. In the previous version of Fedora it worked well.
What could be wrong?
On what file system are those files?
File names on GNU/Linux file systems (ext*, xfs, btrfs, …) use the locale character set for their file names. So, e.g., if you created the files with a legacy en_GB locale and are now using en_GB.UTF-8, you have a problem. (Please note, however, that the UTF-8 locales have always been the default in Fedora, the switch to UTF-8 happened during the Red Hat Linux era.) The convmv utility can help fix such incorrectly encoded file names.
File names on Windows file systems (vfat, ntfs, exfat, …) use UTF-16 for their file names. So there is a mount option telling the kernel to which 8-bit character set the file names should be recoded to. This should be set to UTF-8.
Kevin Kofler
Den 11/22/18 kl. 5:47 AM skrev Kevin Kofler:
Klaus Kolle wrote:
Kevin,
Anytime a file or the path to the file contains æ, ø, å, Æ, Ø or Å Libreoffice fails to load the document. In the previous version of Fedora it worked well.
What could be wrong?
On what file system are those files?
Local filesystems as well as on NFS
KWrite og Calligra Words seems not to have the problem. Therefore it must be a LibreOffice problem, I guess.
I tried to rename the ~/.config/libreoffice folder but with no success.
On an other login that I only use for testing purposes LiberOffice works all right.
So in this ancient old home directory LibreOffice may pick up something from the KDE configuration or the general configuration. I just can't figure out from where.
|<