Bug 8740 - xdg-email KDE code problem with non-UTF8 locales
Summary: xdg-email KDE code problem with non-UTF8 locales
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 13:44 UTC by Kevin Krammer
Modified: 2006-10-29 10:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Override locale to using UTF-8 when calling KDE handler (659 bytes, patch)
2006-10-23 13:47 UTC, Kevin Krammer
Details | Splinter Review

Description Kevin Krammer 2006-10-23 13:44:15 UTC
The KDE code in xdg-email or rather KDE's mailto URI parsing gets a problem 
when we pass our UTF-8 URIs and the session's locale isn't UTF-8, because it 
assumes that the unescaped URI is actually a string in the program's locale.

No problem for systems where the locale is set to UTF-8
Comment 1 Kevin Krammer 2006-10-23 13:47:11 UTC
Created attachment 7498 [details] [review]
Override locale to using UTF-8 when calling KDE handler

Setting the locale variable LC_ALL to C.UTF-8 before calling the KDE handler
program "kmailservice" seems to work.

Tested with KMail, Evolution and Thunderbird as KDE's preferred mail client
Comment 2 Kevin Krammer 2006-10-29 10:23:08 UTC
Patch comitted


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.