Bug 467408 - UTF-8 multi byte characters wrong displayed and saved (e.g. german umlaut)
Summary: UTF-8 multi byte characters wrong displayed and saved (e.g. german umlaut)
Status: REPORTED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Gentoo Packages Linux
: NOR critical
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-15 17:02 UTC by Robby Klehm
Modified: 2024-08-28 15:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New object with umlauts (33.39 KB, image/png)
2023-03-15 17:02 UTC, Robby Klehm
Details
reopened model with umlauts (40.26 KB, image/png)
2023-03-15 17:03 UTC, Robby Klehm
Details
test case (6.25 KB, application/x-uml)
2024-08-28 15:30 UTC, Ralf Habacker
Details
Screenshot showing loaded test file on openSUSE Leap 15.5 (58.27 KB, image/png)
2024-08-28 15:31 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Klehm 2023-03-15 17:02:34 UTC
Created attachment 157310 [details]
New object with umlauts

SUMMARY
Umbrello opens the xmi model, but displays all umlaut (UTF-8 encoded) characters in names and comments wrong. It then saves them into the wrong format. On reopen the saved model it look worse. This is fatal with a workaround.


STEPS TO REPRODUCE
1. Add a class named "Üöä" and a comment "Üöä" to a new model
2. save it, and reopen the model
3. Check name and comment to see the issue

OBSERVED RESULT
The class name and comment is not correctly displayed (encoding issue).

EXPECTED RESULT
The objects name and comment should work with UFT-8 and displayed and saved correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: gentoo
(available in About System)
KDE Plasma Version: kde-frameworks/plasma-5.96.0-r1
KDE Frameworks Version: 
Qt Version: dev-qt/qtcore-5.15.5-r3

ADDITIONAL INFORMATION
Please see the attached screenshots; Any advise would be great.
Comment 1 Robby Klehm 2023-03-15 17:03:09 UTC
Created attachment 157311 [details]
reopened model with umlauts
Comment 2 Ralf Habacker 2024-08-28 15:30:58 UTC
Created attachment 173047 [details]
test case

I created a class with umlauts in the class name, saved and reloaded it. The class name was shown as expected.
Comment 3 Ralf Habacker 2024-08-28 15:31:57 UTC
Created attachment 173048 [details]
Screenshot showing loaded test file on openSUSE Leap 15.5

KDE Frameworks 5.103.0
QT: 5.15.8
Comment 4 Ralf Habacker 2024-08-28 15:33:54 UTC
(In reply to Ralf Habacker from comment #3)
> Screenshot showing loaded test file on openSUSE Leap 15.5

I test this with umbrello version 2.39.0-461968b26 (Applications 24.08.0)