Summary: | Muon displays garbled characters when zh_TW locale is used. | ||
---|---|---|---|
Product: | [Unmaintained] muon | Reporter: | V字龍(Vdragon) <Vdragon.Taiwan> |
Component: | libqapt | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, hello, sitter |
Priority: | NOR | ||
Version: | 2.2.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | http://i.imgur.com/qgKCvUj.jpg#obseluted | ||
Latest Commit: | http://commits.kde.org/libqapt/ca47d57cd44f40bfe774ab2c15b442467cbca8b1 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Similar window when Muon is run with env LANGUAGE=en
Similar window when Muon is run with default LANGUAGE environment(zh_TW:zh_HK:zh:en) |
Description
V字龍(Vdragon)
2014-10-05 19:15:00 UTC
Can you provide some screenshot? I need to have something to start from. (In reply to Aleix Pol from comment #1) > Can you provide some screenshot? > I need to have something to start from. There's already a screenshot at the URL field(http://i.imgur.com/qgKCvUj.jpg) Please also get a screenshot of that same window in english. I am reasonable certain these are string that come out of apt-pkg, so unless we run it through a latinstring somewhere it's probably a bug outside our reach. Created attachment 90148 [details]
Similar window when Muon is run with env LANGUAGE=en
Created attachment 90149 [details]
Similar window when Muon is run with default LANGUAGE environment(zh_TW:zh_HK:zh:en)
(In reply to Harald Sitter from comment #3) > Please also get a screenshot of that same window in english. I can't regenerate the same window on this system, so I pick another package(hime-anthy) on this case: * Similar window when Muon is run with default LANGUAGE environment(zh_TW:zh_HK:zh:en) (*garbled* text) * Similar window when Muon is run with env LANGUAGE=en (english) > I am reasonable certain these are string that come out of apt-pkg, so unless > we run it through a latinstring somewhere it's probably a bug outside our > reach. I'm suspect there's a Unicode string being treated as latinstring here. Considered the status unconfirmed, again. Git commit ca47d57cd44f40bfe774ab2c15b442467cbca8b1 by Harald Sitter. Committed on 28/12/2014 at 19:12. Pushed by sitter into branch 'master'. run typeName string through QString as utf8 not latin1 it contains the localized name, not the latin1 base M +1 -1 src/dependencyinfo.cpp http://commits.kde.org/libqapt/ca47d57cd44f40bfe774ab2c15b442467cbca8b1 (In reply to Harald Sitter from comment #8) > run typeName string through QString as utf8 not latin1 > > it contains the localized name, not the latin1 base > > M +1 -1 src/dependencyinfo.cpp > > http://commits.kde.org/libqapt/ca47d57cd44f40bfe774ab2c15b442467cbca8b1 Great! Thanks for the effort! Just leave a note that I've tested the patch and confirmed that it's working, thanks again! |