View Issue Details

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

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)
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.



2024-06-01 11:27

administrator   ~0000716

maybe related to this


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.


2024-06-02 18:46

administrator   ~0000718

please try this workaaround

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