View Issue Details

IDProjectCategoryView StatusLast Update
0000307QElectroTechtranslationpublic2024-06-02 18:46
Reportertester Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Platformx86_64OSWindowsOS Version10
Summary0000307: QET file types description bad encoding
DescriptionHello,

There is a problem of character encoding in the description of the file types in the Windows Registry.
I anticipate this a problem around UTF-8 encoding at some step (either unnecessary, or not indicated as source of data).

The problem is a least present when setting up QET on a French Windows. It could either be limited to this language (if comming from the I18N files specific to that language) or to multiple languages (if comming from a tool parameter or a setup parameter issue).
Steps To ReproduceGo to a file explorer and see the type description of a QET file type (diagrame or element).
Go and check to regedit HKEY_CLASSES_ROOT\qet_element_file or HKEY_CLASSES_ROOT\qet_diagram_file on the default node string for the description of the class.

On French setup value set is "Schéma QET" instead of "Schéma QET" and "Élément QET" instead of "Élement".
Additional InformationContext is :

QElectroTech V 0.100.0-dev
Compilation : GCC 11.4.0
Built with Qt 5.15.13 - x86_64 - Date : May 22 2024 : 08:42:01
Run with Qt 5.15.13 using 4 thread(s)
CPU : NAME INTEL(R) CORE(TM) I5-3337U CPU @ 1.80GHZ
RAM Total : 16 GB
RAM Available : 2 GB
GPU : VideoProcessor Intel(R) HD Graphics Family
GPU RAM : RAM Total : AdapterRAM 2214592512 B
OS : winnt - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19045
*** Qt screens ***
( 1 : 1920 x 1080 )
( 2 : 3840 x 2160 )
TagsNo tags attached.

Activities

scorpio810

2024-06-01 11:27

administrator   ~0000716

Hello,
maybe related to this https://github.com/qelectrotech/qelectrotech-source-mirror/blob/ca7dc28ecfbad641619c68c683e3f2b7085d8812/build-aux/windows/QET64.nsi#L266

plc-user

2024-06-02 16:57

reporter   ~0000717

Looking at the code, the values set in registry seem to be hardcoded not depending on language-setting.
In my opinion "special" characters like German Umlaute or in this case accents on vowels should be avoided.
... just a thought.

scorpio810

2024-06-02 18:46

administrator   ~0000718

please try this workaaround
https://download.qelectrotech.org/qet/builds/nightly/2024-06-02-1/

Issue History

Date Modified Username Field Change
2024-05-23 14:23 tester New Issue
2024-06-01 11:27 scorpio810 Note Added: 0000716
2024-06-02 16:57 plc-user Note Added: 0000717
2024-06-02 18:46 scorpio810 Note Added: 0000718