manuelbl / SwissQRBill

Java library for Swiss QR bill payment slips (aka QR-Rechnung)
https://www.codecrete.net/qrbill
MIT License
155 stars 37 forks source link

Character conversion #88

Open sempy1 opened 11 months ago

sempy1 commented 11 months ago

Special characters with tilde (ã, õ) are converted like other unvalid characters with dot. In some cases, this makes the name of the person or address illegible. Please consider to change the behavior of the conversion so that ã becomes a and õ becomes o.

manuelbl commented 11 months ago

Thanks for the proposal. That's a good idea. I will look into it.

manuelbl commented 9 months ago

For your information: I'm working on this issue. It even looks as if these characters are valid and don't need to be converted. Yet they are rejected by the SIX QR bill validation portal. I'm in the process of clarifying the valid character set and I've already prepared a more sophisticated solution for converting invalid characters if possible.

manuelbl commented 5 months ago

Release 3.3 has been published. Among several enhancement, the replacement of characters not allowed in payments in now more sophisticated and should cover your proposal.