Hi All,
Still talking about icu library, I had the same issue (in pt_BR) when passing parameters through spel code. Actually it impacts many areas where icu library (Unicode and Globalization) is necessary.
Take a look at the summary below:
> PROBLEM DEFINITION <
Problem with portuguese characters (accents)
• The customer creates a remote reference to execute a .bat file with parameters
• Macro passes incidents parameters. ex. @{description} @{priority}
• Event triggers the macro through an incident
• If the parameter passed has accents (ex. incident summary in portuguese), they are not handled properly.
• Wrong characters appear instead of accents.
> STEPS TO REPRODUCE <
Same behavior occurs with remote reference/macro/event, but can be easily reproduced with a spel script.
Create the spel script below:
prints.spl
void hello(string inName) {
string tmp;
string umlaute;
umlaute = ' - _ &? ç á ã';
tmp = 'Mr. or Ms. ' + inName;
printf('Hello, %s\n', tmp);
printf('POrtuguese umlauts:, %s\n', umlaute);
}
Test command:
bop_cmd -f prints.spl "hello(ção)"
Instead of returning accents, it returns wrong characters (� �).
Happens with 12.9, 14.1.01, 14.1.02 and 14.1.03
There a fix (T57I172)
If necessary, open a ticket at CA Support and ask for the fix.
Regards,
Eduardo Stefani
CA Support