1. In the
C:\Program Files (x86)\CA\Gen85\Gen\classes\com\ca\gen85\exits\msgobj\cfb\CFBDynamicMessageEncodingExit.java, change the code to look like the following, or you can copy/paste it. Make a backup of the CFBDynamicMessageEncodingExit.java file first.
public static String serverEncoding( String tran, String encoding ) {
//if (tran.startsWith("AR")) { /* return transacion specific */
// return "Cp420"; /* encoding. */
// if ((encoding != null) && (encoding.length() > 0)) {
// return encoding; /* Return Selected Encoding. */
// }
// return System.getProperty("file.encoding");
// return "UTF-8"; /* Default to Unicode Encoding */
return "Cp1252";
}
2. Rebuild the user exit to create a class, assemble the application to pick up the new class and redeploy the app.
https://docops.ca.com/ca-gen/8-5/en/reference/user-exits/web-generation-user-exitsIf Cp1252 does not help, try UTF-8.