Symptom
Received BPE error for document generation stating unsupported character.
Upload PDF form and mapped the first name and last name in Local (Thai) language via Business rule.
Environment
SAP Successfactors Onboarding
Reproducing the Issue
1. Go to BPE
2. Open the error
3. Error stating:
HCP Response Content: {"error":{"code":null,"message":"unsupported character!
Cause
Due to the tie between language and font, the set of language we can support is dependent on the set of font we currently have within our service.
Resolution
Currently, we have three commercial fonts Arial, Times New Roman and Courier.
If the customer set the font to be one of these three, all the single byte encoded language supported by these three fonts can also be supported by PFS.
In addition, we also have three adobe open source fonts which are SourceSerifPro-Regular for European language (English, French, German and etc.) , SourceHanSerifK-Regular for Korean and SourHanSerifSC-Regular for simplified Chinese.
If the customer set the font to a font that is not among the three commercial fonts we have or try to print language using a font that doesn’t support the language (e.g. using Arial to print Korean) we will overwrite the font setting to use one of these three open source fonts to print the characters.
For this case, Thai can neither be supported by the three commercial fonts listed above nor by the three open source fonts we included and that’s why the customer sees the error message.
As this is currently the expected behavior, please raise enhancement request and refer to this link on how to Enhancement Requests
Keywords
Document generation, unsupported character , KBA , LOD-SF-OBX-DOC , Generation of Documents using PFS , Product Enhancement
SAP Knowledge Base Article - Public