Rachel Andrew
2013-Jul-02 14:26 UTC
[Puppet Users] incompatible character encodings: UTF-8 and ASCII-8BIT
Hi as part of our setup we have erb templates that are SQL files, we parse then to add in some user details to the SQL (these come from a hiera json file created from PHP) before using that file to create the database. If that data includes UTF-8 characters (for example an e with an acute accent) we get the error: Failed to parse template Detail: incompatible character encodings: UTF-8 and ASCII-8BIT This looks to be a similar issue to: https://groups.google.com/forum/#!topic/puppet-bugs/oWATlkm5nfo Debian Wheezy, Puppet v3.2.2, Ruby 1.9.3p194 Any suggestions as to how to deal with this would be great! Rachel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Possibly Parallel Threads
- incompatible character encodings: ASCII-8BIT and UTF-8
- "incompatible character encodings: ASCII-8BIT and UTF-8"
- Problem with non-ascii characters in forms: "incompatible character encodings: UTF-8 and ASCII-8BIT"
- SUGGESTION: Force install.packages() to use ASCII encoding when parse():ing code?
- dealing with Encoding::UndefinedConversionError: "\xA2" from ASCII-8BIT to UTF-8