Summary: | getInputBoxValue does NOT output Unicode chars. | ||
---|---|---|---|
Product: | [Unmaintained] superkaramba | Reporter: | Daniel <dd> |
Component: | general | Assignee: | Ryan Nickell <p0z3r> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Example applet and screenshot |
Description
Daniel
2005-11-04 09:49:59 UTC
Created attachment 13270 [details]
Example applet and screenshot
Attachment contains 4 files:
2 files (.theme and .py) of example SuperKaramba applet.
1 file of a stdout log on my system.
1 file screenshot
Problem cs2() gives pointer to short (2 Bytes) wchar_t is the same as Py_UNICODE (4 Bytes) Casting short to Py_UNICODE causes it to be tmp[i] + tmp[i+1] which is not correct. This may be platform and distributation dependant, but should work on every platform, beacuase wchar_t is always bigger or equal than short. Committed revision 477748 This also possibly addresses another bug regarding locale issues: http://bugs.kde.org/show_bug.cgi?id=115486 This isn't verified so if someone could do that, it would be great. |