Curse Your Curly Quotes or Crazy Chef Error Messages
source link: https://fuzzyblog.io/blog/chef/2014/08/14/curse-your-curly-quotes-or-crazy-chef-error-messages.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Curse Your Curly Quotes or Crazy Chef Error Messages
Aug 14, 2014
One of the reasons that I started blogging and continue to blog* is personal knowledge capture. My own blog represents the knowledge that I gather during the course of my day to day work. And that brings us to this crazy error message:
"chef" "ERROR: Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8"
I got this when I was running a single chef routine that I had documented here (see my last post on Chef):
bundle exec knife solo cook [email protected] -o 'server_setup::vim_configuration'
So I was pretty much certain that it worked. Well it did. But the representation in my blog was actually wrong – the single quotes had been transposed to single curly quotes in either direction. Oy!
*Albeit after a multi year hiatus that I regretted constantly and still regret.
Posted In: #ruby #curly quotes
Recommend
-
26
What are some drawbacks of using batch normalization? S...
-
10
John Fremlin's blog: Curse of business logicWaiting for updates: connectedPosted 2019-05-18 22:00:00 GMTPeople complain that a piece of software is bogged down in te...
-
6
ATTiny Removing a Curse from ATtiny85 Fuses I bricked my ATtiny85, and even High-Voltage Serial Fuse programming couldn't save the day... This is what...
-
6
Curly Tubes from the Lusion Website with Three.js Learn how to replicate the curly tubes from the Lusion website using light scattering in Three.js. ...
-
4
Improve Your Life with Long Error Messages Julik Tarkhanov on Sep 22, 2021 “I absolutely love AppSignal.” Discover AppSignal
-
6
Tip: Include Context And Propose Solutions In Your Error Messages May 23, 2013 A Puppet run has failed with an error message...
-
1
Why you should add a visual indicator to your...
-
4
« back — written by Brent on January 24, 2023 Wh...
-
6
The case of the mysterious curly bracket by Mark Seemann The story of a curly bracket that I thought was redundant. Not so. One of my clients was kind enough to show me...
-
6
Happy Friendship Day Wishes, Quotes and Messages 2024
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK