apostrophe in BI Publisher


Active Member
Hello JDE List
Im trying to write the following code in my RTF for the translation of certain fields in my form but it keeps erroring out when there is an apostrophe. Any suggestion on how to keep the apostrophe? The only solution I have found so far is to use an accent grave ` instead of '

<?if:LanguagePreference_ID335='F'?><?'Numéro d’inscription TVQ'?><?end if?>
I will suggest to write this logic in RDA itself. Take a placeholder string and populate based on the SV language preference.
Another solution would be to call the CHR() function within the RTF template. CHR(39) will be converted to a single quote at runtime without triggering an error by the parser.