Description: It seems that Windows-1252 encoding is used in the window title. It should be UTF-8. Steps to Reproduce: 1. Create a new document/spreadsheet/whatever. 2. Save it under a name containing non-Unicode characters. Say, λιβρε.odt. 3. Look at the window title. Actual Results: The title and the last line in the Window menu looks like λιβÏε.odt. Expected Results: The window title and the last line in the Window menu should display λιβρε.odt. Reproducible: Always User Profile Reset: No Additional Info: Reproduced only under KDE Neon (user edition). kwrite and evince, for instance, display the correct file name in their titles, so the DE settings should not be an issue. In Fedora 33 to 35, and in Ubuntu 20.10, LO is fine. Installed packages (although I tried without libreoffice-kde, libreoffice-kde5, libreoffice-kf5, libreoffice-qt5, too): libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-kde5 libreoffice-kde libreoffice-kf5 libreoffice-math libreoffice-plasma libreoffice-qt5 libreoffice-style-breeze libreoffice-style-colibre libreoffice-writer
Do you use LibreOffice from the official site or from your distro repos?
I tested both LO from the Ubuntu Focal repo (version 1:6.4.7-0ubuntu0.20.04.1) and from the LO PPA (https://launchpad.net/~libreoffice/+archive/ubuntu/ppa; version 7.2.2~rc2-0ubuntu0.20.04.1~lo1). The result was the same. Apparently, the problem is rare enough.
What's more, when I'm saving a file with a faulty name, the suggested filename in the saving dialog is the same garbage as in the window title. The same I see in the list of the recently opened files when I launch LibreOffice. It doesn't look to me like a DE issue at all. I don't mind providing any information, whatever you need to narrow the problem down.
Created attachment 176352 [details] Faulty encoding in the window title and in the menu
Created attachment 176353 [details] Faulty encoding in the recent files list
Please try download and instal LibreOffice from https://libreoffice.org/download
Created attachment 176354 [details] Faulty encoding in the recent files list in LO 7.1 from the LO website Not to mix up the LO from the website with the one installed from the LO PPA, I picked LO 7.1.7, not the newest one. The result is the same. Should I purge all LO packages and repeat the installation of the website version?
Alright, I have purged everything relative to LO, both from the website and from the PPA. Then I installed LO 7.2.2.2-2 from the website. The result is the same, only the LO version differs: Version: 7.2.2.2 / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 2; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-US (C); UI: en-US Calc: threaded
(In reply to stsav012 from comment #8) > Version: 7.2.2.2 / LibreOffice Community > Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 > CPU threads: 2; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb) > Locale: en-US (C); UI: en-US The culprit is likely that you are using the bare C locale. I don't think LibreOffice handles that very gracefully. Please test again with a UTF-8 locale. If you don't know how, I believe the following commands from a terminal should work: $ export LANG=en-US.UTF-8 $ /opt/libreoffice7.2/program/soffice > Calc: threaded
Indeed, the locale I use is C. The locale has been applied: Locale: en-US (en-US.UTF-8); UI: en-US However, running the two suggested commands has not resolved the issue. As far as I understand, C locale is UTF-8, too, for Ubuntu (and its derivatives) uses UTF-8 as the default encoding for ages by now. Never mind. It's getting late, I'll test other suggestions tomorrow.
I keep facing the problem. Now, I can't copy “ö” into the axis title of a LO Calc chart. Instead, I get “ö”. When I enter it manually, it is shown in the Titles dialog and as the axis title correctly. The issue is only with the clipboard (actually, both of them). I can copy the axis title from LO Calc to LO Writer, it appears fine. But when I copy, for instance, the first few sentences of the comment from the browser, I get the following in LO Writer (forget the “>” sign): > I keep facing the problem. Now, I can't copy âöâ into the axis title of a LO Calc chart. Instead, I get âöâ. I haven't changed nor updated LibreOffice since last time: Version: 7.2.2.2 / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 2; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-US (C); UI: en-US Calc: threaded
Try $ export LANG=en-US.UTF-8 then open run libreoffice from the same terminal in which you have exported the LANG, rather than from the desktop application menu: $ /opt/libreoffice7.2/program/soffice If now it works, then it is due to your locale settings. I once have set the lang to sth else (by mistake) and encountered the same issue.
See Comment #10 above. I did test it with `LANG=en-US.UTF-8` env variable set. No avail: the issue is still here.
And why do I face the issue only with LibreOffice? How's it different from the other apps I use? If I find another misbehaving app, I will narrow the problem down.
I'd like to second this bug as well as highlight that this can occur when locale is set to ones such as Austrian English (en_AT), Belgian English (en_BE) and Swedish English (en_SE) and thus, is more of a concern than one might think - it is not limited to simply folks using uncommon and/or unusual locales.
*** This bug has been marked as a duplicate of bug 125995 ***