From email: I use Tellico 4.0 on Arch Linux. I use XFCE and the locale on my system is LANG=fr_FR.UTF-8. When I generate a report in html the new Tellico version define the charset as "Locale" like this : meta http-equiv="Content-Type" content="text/html; charset=Locale" With previous versions of Tellico (as far as I can tell from my backups) the charset in html reports was defined as "utf-8" like this : meta http-equiv="Content-Type" content="text/html; charset=utf-8"
I'm using Tellico on Qt6 (6.7.2) My version of libxml2 is 2.13.3-1 My version of libxslt is 1.1.42-1 I verified the *.xsl files in /usr/share/tellico/report-templates/ and they all have the encoding="utf-8" in the <xsl:output> element. In the preview of the generated report in Tellico I can see correct accented characters. However when I click on the "Save as" button in the Tellico preview and save the html file, then this html file have this : meta http-equiv="Content-Type" content="text/html; charset=Locale"
Git commit 8a4f92895c4cdc1c1768a4b6066bb178661b0c20 by Robby Stephenson. Committed on 16/09/2024 at 01:38. Pushed by rstephenson into branch '4.0'. Use same encoding for HTML 'Save As' as used in the view M +0 -13 src/reportdialog.cpp https://invent.kde.org/office/tellico/-/commit/8a4f92895c4cdc1c1768a4b6066bb178661b0c20
Git commit 144d8e191362efe7fdc8bd611cdcab36d5f0b834 by Robby Stephenson. Committed on 20/09/2024 at 03:07. Pushed by rstephenson into branch 'master'. Use same encoding for HTML 'Save As' as used in the view M +0 -13 src/reportdialog.cpp https://invent.kde.org/office/tellico/-/commit/144d8e191362efe7fdc8bd611cdcab36d5f0b834
Git commit ee9283c7700e87bc10beff2e0458449e0fd636f3 by Robby Stephenson. Committed on 20/09/2024 at 22:05. Pushed by rstephenson into branch '4.0'. Use "UTF-8" instead of "Locale" for system encoding name In Qt6, QStringConverter::System is named "Locale" and is UTF-8 on on Linux. FIXED-IN: 4.0.1 M +4 -0 ChangeLog M +4 -2 src/utils/string_utils.cpp https://invent.kde.org/office/tellico/-/commit/ee9283c7700e87bc10beff2e0458449e0fd636f3
Git commit d83bdce6be1f005df70bfdbfb4e4431c596726b3 by Robby Stephenson. Committed on 20/09/2024 at 22:06. Pushed by rstephenson into branch 'master'. Use "UTF-8" instead of "Locale" for system encoding name In Qt6, QStringConverter::System is named "Locale" and is UTF-8 on on Linux. FIXED-IN: 4.0.1 M +4 -0 ChangeLog M +4 -2 src/utils/string_utils.cpp https://invent.kde.org/office/tellico/-/commit/d83bdce6be1f005df70bfdbfb4e4431c596726b3
*** Bug 494049 has been marked as a duplicate of this bug. ***