Bug #7195
closed
Canonify in ncf doesn't work like cfengine does
Added by Benoît PECCATTE over 9 years ago.
Updated over 2 years ago.
Description
cfengine canonifies strings as if they where pure ASCII string:
- an utf8 'é' is 2 characters unknown type, it produces 2 '_'
- an iso-8859-1 'é' is 1 character unknown type, it produces 1 '_'
> do not use \w
> convert utf8 to bytes before processing
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/237
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category set to Generic methods
Also available in: Atom
PDF