I have noticed that when using CiviSEPA to generate an XML file to be submitted to the bank for payment collection, no special characters get through. Some characters are converted into ASCII "equivalent" characters and some others into question marks
I am using UTF-8 within CiviCRM. Also, the XML file generated starts with:
<?xml version="1.0" encoding="UTF-8"?>
So the XML file encoding seems to be capable of using UTF-8 characters. Some examples:
Name | Turns into ---------- | ---------- Mónica | Monica Begoña | Begona Mª Dolores | M? Dolores
This seems to be a "feature" as some conversions seem to be getting the "closest" ASCII equivalent. But then the Transaction Message seems to be getting a worse treatment:
La fundación le agradece su aportación turns into
La fundaci??n le agradece su aportaci??n.
I have tried generating XML files mostly with the pain.008.001.02 PAIN version but it seems to be the same for the other PAIN versions.
So I would like to know whether the XML files may contain any UTF-8 characters (and the average bank will accept that). If this is so, do I have something wrong in the CiviCRM configuration? Is there a way to fix this?