Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

UTF in 5.0p?

$
0
0
Did you change something in the UTF-8 encoding in the 5.0p version?
I have code which works perfectly in 4.1p but in 5.0p not.
I basically send a filename (which can contain the german ä ö ü characters) to a DMI method.
In the DMI Method I have:
Code:

Map values = dsRequest.getValues();
String filename = new String(
                                ((String)values.get("filename")).getBytes(Charsets.UTF_8.name()), Charsets.UTF_8.name());

This is not encoded properly in 5.0p, but in 4.1p it was working. What is different here?
Using 5.0p eval 27.01

Viewing all articles
Browse latest Browse all 4756

Trending Articles