on 07-14-2009 9:05 AM
Hi Colleagues,
In my Code i am Facing some JLIN errors in the below code
byte[] encoded = com.sap.engine.lib.xml.util.BASE64Encoder.encode(source.getBytes());
return (new String(encoded));
Here it is Throwing are throwing two PRIO 2 JLIN errors
for code in 1st line:
JLin [Prio 2] Internationalization: new String(byte[]) byte to char conversion using the runtime default encoding. Explicitly specify one of UTF-8, UTF-16, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE encodings instead.
for Code in Line 2:
JLin [Prio 2] Internationalization: new String(byte[]) byte to char conversion using the runtime default encoding. Explicitly specify one of UTF-8, UTF-16, US-ASCII, ISO-8859-1, UTF-16BE, UTF-16LE encodings instead.
Could anyone please let me know how to proceed here?
Many Thanks & Best Regards
Swetha
Hi Swetha
Just skip the JLin warnings. Nothing wrong with the code. If you want you can insert in the code JLin's instruction saying to suppress the warnings.
By the way, this is a wrong forum for such questions. Use Java Programming instead.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.