Actions
Bug #4381
closedSpecial characters (ie, accents such as éèùô) are replaced by "?" in CFEngine promises
Bug #4381:
Special characters (ie, accents such as éèùô) are replaced by "?" in CFEngine promises
Status:
Released
Priority:
3
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
If special characters (such as accents, like é) are entered into a Directive variable, the special characters are replaced by "?".
I entered "Ceci est un mot accentué (héhéhé !)", after making sure my browser was in UTF-8. This came out in promises as "Ceci est un mot accentu? (h?h?h? !)"
I checked LDAP content and it has the right accents:
directiveVariable:: R0VORVJJQ19GSUxFX0NPTlRFTlRfUEFZTE9BRFswXTpDZWNpIGVzdCB1bi Btb3QgYWNjZW50dcOpIChow6low6low6kgISk= # echo "R0VORVJJQ19GSUxFX0NPTlRFTlRfUEFZTE9BRFswXTpDZWNpIGVzdCB1bi > Btb3QgYWNjZW50dcOpIChow6low6low6kgISk=" | openssl base64 -d GENERIC_FILE_CONTENT_PAYLOAD[0]:Ceci est un mot accentué (héhéhé !)
I saw this on 2.9.2 but I'm assuming it also happens since older versions.
Actions