cancel
Showing results for 
Search instead for 
Did you mean: 

Messgae Formats and Encoding Formats in PI

Former Member
0 Kudos

Hello,

Message Format families available in PI(for ex blobff)

Can PI handles encoding formats?KInd of Formats??

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

Hi Hemant,

You can also write a UDF for the encoding. PFB the example for the base64 encoding in PI.

public static String Encode(String strDecoded)

{

String sOut="";

try

{

sOut = Base64.encode(strDecoded.getBytes("UTF-16BE"));

} catch (UnsupportedEncodingException e)

{

// TODO Auto-generated catch block

e.printStackTrace();

}

return sOut;

}

Similarly other encoding may be used.

. Thanks

Former Member
0 Kudos
JoelTrinidade
Active Contributor
0 Kudos

Hi Hemant,

please refer to guide "how to work char encodings in pi"

Regards

joel