Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
1
-
Language 2016-02-24
-
Bug Fix
-
Description
The Puppet Parser should ensure that source files are read with UTF-8 encoding.
One such place is in the Lexer where it uses Puppet::Filesystem.read ( which currently dos not accept an encoding argument - see PUP-5732).
Another place is the Puppet Function Instantiator.
In this ticket, it is important to track down the paths that leads to lexing of puppet source. It is possible to give the lexer a string - and that string may come from many different sources (mainly testing). There may be some places other than the two mentioned above where a file is read and the string the given to the lexer.
Attachments
Issue Links
- duplicates
-
PUP-5728 Change default parsing of manifest files to UTF-8
-
- Closed
-