German Umlauts in Catalog

34 views
Skip to first unread message

Bjoern Meier

unread,
Jan 19, 2016, 10:14:51 AM1/19/16
to Puppet Users
Hi,

how can I use - with a puppet 3.8.3 x64 Windows clients - a File Resource  with öüä character. 

The test on the Master works fine.
On the Client I getinvalid byte sequence in US-ASCII and he cannot ensure present on the file.

Thanks for helping me out.

Josh Cooper

unread,
Jan 21, 2016, 7:11:51 AM1/21/16
to puppet...@googlegroups.com

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8b11d187-5dff-40fe-b37d-91a9d2001cef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

If you are running `puppet agent` on Windows:

* what is the output of ruby -e "puts Encoding.default_external" on the master and agent?
* what is the agent's code page, e.g. chcp
* can you provide a gist of `puppet agent --test --trace` on Windows, showing the stacktrace?
* what encoding is the manifest stored in on the master?

If you are running `puppet apply`:

* what is the output of ruby -e "puts Encoding.default_external" on the agent?
* what is the agent's code page, e.g. chcp
* can you provide a gist of `puppet apply <manifest.pp> --trace` on Windows?
* what encoding is the manifest stored in on the agent?

Josh 

--
Josh Cooper
Developer, Puppet Labs
Message has been deleted

Bjoern Meier

unread,
Jan 21, 2016, 7:49:04 AM1/21/16
to Puppet Users
Hi Josh,

ok, I think I found the problem, thanks to your questions. Our codepages in Windows are CP850, But the manifests and the master are UTF-8. Can I change the codepage only for ruby to UTF-8? If so, how? I'm not this familiar with ruby.

Thanks for helping.

Greetings,
Björn

Felix Frank

unread,
Feb 11, 2016, 10:47:45 PM2/11/16
to puppet...@googlegroups.com
Hi,

sounds like a fairly straight-forward reproduction. Have you opened a
Jira ticket for this? If not, would you?

I'm oddly disgusted and fascinated by this still being an issue (come on
Windows...can't you just unicode like all the other kids?) and might
just look into that. (Eventually.)

Cheers,
Felix

Lindsey Smith

unread,
Feb 11, 2016, 11:35:53 PM2/11/16
to puppet...@googlegroups.com
On Thu, Feb 11, 2016 at 2:47 PM, Felix Frank <Felix...@alumni.tu-berlin.de> wrote:
On 01/21/2016 08:49 AM, Bjoern Meier wrote:
Hi Josh,

ok, I think I found the problem, thanks to your questions. Our codepages in Windows are CP850, But the manifests and the master are UTF-8. Can I change the codepage only for ruby to UTF-8? If so, how? I'm not this familiar with ruby.

Thanks for helping.

Greetings,
Björn

Hi,

sounds like a fairly straight-forward reproduction. Have you opened a Jira ticket for this? If not, would you?


I'm oddly disgusted and fascinated by this still being an issue (come on Windows...can't you just unicode like all the other kids?) and might just look into that. (Eventually.)

Cheers,
Felix
--
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...@googlegroups.com.

Felix Frank

unread,
Feb 12, 2016, 10:43:15 PM2/12/16
to puppet...@googlegroups.com
On 02/12/2016 12:35 AM, Lindsey Smith wrote:
Hi Josh,

ok, I think I found the problem, thanks to your questions. Our codepages in Windows are CP850, But the manifests and the master are UTF-8. Can I change the codepage only for ruby to UTF-8? If so, how? I'm not this familiar with ruby.

Thanks for helping.

Greetings,
Björn

Hi,

sounds like a fairly straight-forward reproduction. Have you opened a Jira ticket for this? If not, would you?


Hi Lindsey,

good find, interesting stuff. Not sure if that's the one, but it seems to make it clear that non-ASCII is only really supported in 4.3.3 and newer, or so I suppose.

Cheers,
Felix
Reply all
Reply to author
Forward
0 new messages