Mailto not working properly in Web Dynpro ABAP

[] []

Symptom
Email text is garbled when using mailto URI
Other terms
Web Dynpro ABAP, CREATE_EXTERNAL_WINDOW
Reason and Prerequisites
Mail clients should always be launched from Web Dynpro ABAP applications using the Web Dynpro UI Element LinkToURL and setting the property “reference” to “mailto” followed by an email address and/or parameters.
At first sight there are other options e.g. by calling IF_WD_WINDOW_MANAGER=>CREATE_EXTERNAL_WINDOW and passing on the appropriate “mailto:” URI as a result of a button click. Unfortunately, this method causes problems in IE6 if the URI contains non-latin UTF-8 characters (e.g. Japanese characters). Although the characters have the right encoding the local mail client interprets and displays them as UTF-8 character and does not convert them to the corresponding code page.
This problem can be solved in IE7 by adjusting its settings according to the attached screenshot.
Solution
See above text

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment