on 09-18-2008 5:12 PM
Hello, SDN!
I wanna retrieve an application parameter, but i have some troubles with cyrillic encoding:
String param = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameterValues("myparam");
param does not contain right data,
if i print param with IWDMessageManager, its displays some squares instead of the text.
I have tried to change encoding with help of
URLDecoder.decode(department, "UTF-8")
So, somebody can help?
Nikita,
See [this blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603] [original link is broken] [original link is broken] [original link is broken];. Search for 'UTF-8'.
"I encounter problems whith the charset of the downloaded data. Serverside the data is encoded as UTF-8 and I write it to the client using WDResource and IWDInputStream. On the client (e.g. in the browser) special characters (Umlaute) are not displayed corretly. Setting the view mode to "UTF-8" by hand in the browser fixes the view."
This may help.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
May be of use for decoding
http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html
Regards
Ayyapparaj
It doesnt solve my problem. But, i have found some solution:
if i type cyrillic in my application parameters (WebDynpro Iview), its work fine.
If an url parameter, then its didnt work.
So, imho i think what parameters by method POST are work, and parameters by method GET are not work correctly.
Thanks, for your wasted time.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.