Summary: | Code completion/navigator displays incorrectly non English UTF-8 characters (in comments) | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Maciej Mrozowski <reavertm> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | victor.grischenko |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
one picture worth thousands of words :)
test scenario (file with Polish characters in comments encoded as UTF-8 character set) |
Description
Maciej Mrozowski
2009-02-04 15:01:06 UTC
Created attachment 30954 [details]
one picture worth thousands of words :)
Created attachment 30955 [details]
test scenario (file with Polish characters in comments encoded as UTF-8 character set)
I've got this issue on PHP-files and russian language too. SVN commit 992973 by zwabel: Use QString::fromUtf8, instead of implicit conversion. CCBUG: 183182 M +1 -1 abstractdeclarationnavigationcontext.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=992973 > SVN commit 992973 by zwabel: > > Use QString::fromUtf8, instead of implicit conversion. > CCBUG: 183182 It works for popup but not for Code Browser That was fixed some time ago - looks like those "BUG: ####" doesn't work for me in the commit messages :-/ If you try with for example attached test case, you'll see that issue is not fixed yet, so please reopen (unless you want to shuffle the problem under the carpet). as of r1000239, let me be more specific. It doesn't work neither with popup no code browser (of course characters are well formatted UTF8 as seen in screenshot - at least displayed properly) - it's really trivial to reproduce anyway Milian, please re-test the issue before closing reports. This is not fixed yet, the comments are still double-encoded (i.e. reading the utf-8 as latin1 from the file and then later encoding the latin1-bytearray as utf-8). Oh and Maciej, I suggest to leave out comments such as "(unless you want to shuffle the problem under the carpet)". It doesn't help you in any way to get the problem fixed as all this does is insult the developers. I'm sorry - seems like I only checked PHP files and apparrently it works fine there :-/ I had another look and found the culprit. I committed a fix. Before I close it again - can you all check it please ;-) Thanks, its fixed now. Confirmed, it's fixed now. I apologise for that plug, it wasn't necessary indeed. |