Summary: | kig garbles special characters | ||
---|---|---|---|
Product: | [Applications] kig | Reporter: | Jaka Kranjc <svn> |
Component: | general | Assignee: | Pino Toscano <pino> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot |
Description
Jaka Kranjc
2006-10-13 10:23:29 UTC
Created attachment 18105 [details]
screenshot
it's not that simple: α 03B1 -------- Î 00CE ± 00B1 SVN commit 607078 by pino: Do not silently convert to an encoding different than UTF-8 when saving. BUGS: 135564 M +1 -1 native-filter.cc --- branches/KDE/3.5/kdeedu/kig/filters/native-filter.cc #607077:607078 @@ -665,7 +665,7 @@ docelem.appendChild( windowelem ); doc.appendChild( docelem ); - stream << doc.toCString(); + stream << doc.toString(); return true; } SVN commit 607079 by pino: Do not silently convert to an encoding different than UTF-8 when saving. CCBUG: 135564 M +1 -1 native-filter.cc --- branches/kig/post-kde-3.5/kig/filters/native-filter.cc #607078:607079 @@ -719,7 +719,7 @@ docelem.appendChild( windowelem ); doc.appendChild( docelem ); - stream << doc.toCString(); + stream << doc.toString(); return true; } SVN commit 607080 by pino: Do not silently convert to an encoding different than UTF-8 when saving. CCBUG: 135564 M +1 -1 native-filter.cc --- trunk/KDE/kdeedu/kig/filters/native-filter.cc #607079:607080 @@ -722,7 +722,7 @@ docelem.appendChild( windowelem ); doc.appendChild( docelem ); - stream << doc.toByteArray(); + stream << doc.toString(); return true; } |