Issue #4832 has been updated by Matt Robinson.
Chris, probably best to take up the issue on the mailing list or in another ticket and reference this one. Comments on already closed tickets are harder to keep track of. ---------------------------------------- Feature #4832: Character encodings support for PSON https://projects.puppetlabs.com/issues/4832 Author: Felix Frank Status: Closed Priority: Normal Assignee: Markus Roberts Category: parser Target version: 2.6.3 Affected Puppet version: 2.6.1 Keywords: encoding, pson, serialization, utf8 Branch: MarkusQ:tickets/2.6.x/4832 PSON is currently hardcoded to expect UTF8 in manifests and output UTF8 on client machines. The former is a genuine problem when manifests include non-UTF8 non-ASCII characters (e.g. in content arguments for files), the latter is annoying if client OSes or applications have no UTF8 support. I'm working on a patch that will allow the user to control (via puppet.conf) a) what non-UTF8 encoding the puppet master will accept as a fallback encoding (PSON currently throws errors when trying to serialize non-UTF8 characters) b) to which encoding PSON will deserialize in the client I'm gunning for a "fallback" solution in the master, because a minimal change will leave the UTF8<->UTF16 as is and add an additional iconv layer. However, in most cases UTF8 is fine, because it handles pure ASCII without problems. So the chosen native encoding is really a fallback for strings that raise UTF8 errors (because they are in fact not UTF8). Does this even make sense, or am I on the road to crazy town? -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
