on 02-07-2006 2:05 PM
Hello. Please help me.
I need to be transferred parameter in SAP function.
Symbols - cyrillics. What coding to choose?
For example.
SomeFunction.getImportParameterList () .setValue (new String (value.getBytes ("ISO-8859-1")), "TTT") does not work.
SomeFunction.getImportParameterList () .setValue (new String (value.getBytes ("?")), "TTT")
Nick,
First, if value is String then, try just
SomeFunction.getImportParameterList()
.setValue(value, "TTT");
If above does not work (or value is something like ByteArrayOutputStream) then
SomeFunction.getImportParameterList()
.setValue (new String (value.getBytes("UTF-8")), "TTT");
Also check that SAP R/3 server is unicode enabled.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.