| Summary: | KConfigGroup does not accept UTF-8 characters in the group name only upon loading | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Dario Freddi <drf> |
| Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cfeck, christoph, ctibor.brancik, faure |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Dario Freddi
2009-12-08 14:45:51 UTC
*** Bug 211082 has been marked as a duplicate of this bug. *** David, does this fix the issue?
Index: kconfigini.cpp
===================================================================
--- kconfigini.cpp (revision 1060385)
+++ kconfigini.cpp (working copy)
@@ -474,6 +474,7 @@
fclose(fp);
return false;
}
+ f.setTextModeEnabled(true);
writeEntries(locale, f, writeMap);
f.close();
fclose(fp);
SVN commit 1097299 by ossi: test reading & writing of groups with accented chars - works CCBUG: 217864 M +20 -0 kconfigtest.cpp M +1 -0 kconfigtest.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1097299 Dario: do you still have this issue? Do you have your test code somewhere? I suspect it might be buggy :) Hey, I will try to reproduce later, but the issue hasn't occurred since a while... I'll check and let you know :) Should be fixed. |