{"id":1855,"date":"2013-03-02T16:47:00","date_gmt":"2013-03-02T22:47:00","guid":{"rendered":"http:\/\/www.wiredprairie.us\/blog\/?p=1855"},"modified":"2013-03-02T16:48:03","modified_gmt":"2013-03-02T22:48:03","slug":"liquid-exception-incompatible-character-encodings-ibm437-and-utf-8","status":"publish","type":"post","link":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1855","title":{"rendered":"Liquid Exception: incompatible character encodings: IBM437 and UTF-8"},"content":{"rendered":"

Assuming you\u2019re trying to use Jekyll<\/a> on Windows, you may encounter an error similar to this:<\/p>\n

Liquid Exception: incompatible character encodings: IBM437 and UTF-8 in css.html<\/p>\n

\"image\"<\/a><\/p>\n

My solution was to temporarily change the code page to UTF-8:<\/p>\n

\"image\"<\/a><\/p>\n

chcp 65001<\/strong><\/p>\n

This temporarily changes the code page of the current Command window to UTF-8. <\/p>\n","protected":false},"excerpt":{"rendered":"

Assuming you\u2019re trying to use Jekyll on Windows, you may encounter an error similar to this: Liquid Exception: incompatible character encodings: IBM437 and UTF-8 in css.html My solution was to temporarily change the code page to UTF-8: chcp 65001 This temporarily changes the code page of the current Command window to UTF-8.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[135,136,57,119],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd5QIe-tV","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1754,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1754","url_meta":{"origin":1855,"position":0},"title":"Nest Thermostat API using Node JS and Nest API Update","date":"October 9, 2012","format":false,"excerpt":"I\u2019ve been asked by a few people for more details on the API Nest Labs uses for their thermostats, especially regarding setting data (and not just polling). The API uses mostly JSON formatted data POSTed to their web servers. Authentication To authenticate, POST the username and password, encoded as form\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1939,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1939","url_meta":{"origin":1855,"position":1},"title":"Reading a text file (or JSON file) from a Windows 8 Runtime application","date":"September 1, 2013","format":false,"excerpt":"I just had need of reading a small JSON file into a Windows 8 application using the Windows Runtime. Uri uri = new Uri(\"ms-appx:\/\/\/assets\/data.json\");var storageFile = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(uri);using (var storageStream = await storageFile.OpenReadAsync()){ using (Stream stream = storageStream.AsStreamForRead()) { using (StreamReader reader = new StreamReader(stream)) { var jsonText = reader.ReadToEnd();\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2013\/09\/image_thumb1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1730,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1730","url_meta":{"origin":1855,"position":2},"title":"How to find an element in a DataTemplate in WinRT\/XAML.","date":"September 7, 2012","format":false,"excerpt":"Here\u2019s one way to find a named element in a DataTemplate in XAML in Windows 8 XAML. You might try FindName to discover it doesn\u2019t work. That\u2019s because it\u2019s not recursive. So, I created a simple extension method to do the same thing: public static class FrameworkElementExtensions { public static\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2012\/09\/image.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1214,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1214","url_meta":{"origin":1855,"position":3},"title":"Setup for the Asante VoyagerIP Cameras: Wireless Woes","date":"June 13, 2011","format":false,"excerpt":"I recently purchased two new IP cameras from Amazon. The Asante Voyager I and Asante Voyager II. They\u2019re both good cameras with lots of bells and whistles, and a decent amount of configuration options that should satisfy both the geeks and a non-geek. The reason I\u2019m posting this is to\u2026","rel":"","context":"In "General"","img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2011\/06\/image1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1201,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/1201","url_meta":{"origin":1855,"position":4},"title":"Microsoft: Make the “Metro\/Zune” look a standard. Publish it. Push it. Now.","date":"February 11, 2011","format":false,"excerpt":"Apple makes user experience inroads every day on Windows when a developer follows Apple\u2019s Human Interface Guidelines for design for a Windows Application. This post was inspired when I installed Miro this morning on my desktop PC. (Don\u2019t get me started that it opts-in a bunch of changes and a\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"SNAGHTML1c0109","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2011\/02\/SNAGHTML1c0109.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2224,"url":"https:\/\/www.wiredprairie.us\/blog\/index.php\/archives\/2224","url_meta":{"origin":1855,"position":5},"title":"Flutter Demo application linking to BoardGameGeek.Com’s Hot Game List","date":"February 26, 2018","format":false,"excerpt":"I've built a slightly more interesting application using Flutter.\u00a0 Using an XML feed from BoardGameGeek's API, the application displays a list of the current hot games complete with thumbnail images. Here's the code. I used a standard Flutter app template and also added a few packages to the project. I've\u2026","rel":"","context":"In "Coding"","img":{"alt_text":"Hulk Smash Layout","src":"https:\/\/i0.wp.com\/www.wiredprairie.us\/blog\/wp-content\/uploads\/2018\/02\/2018-02-26-19_45_39-Hulk-Smash-Meme-Generator-Imgflip.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1855"}],"collection":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/comments?post=1855"}],"version-history":[{"count":1,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1855\/revisions"}],"predecessor-version":[{"id":1856,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/posts\/1855\/revisions\/1856"}],"wp:attachment":[{"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/media?parent=1855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/categories?post=1855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wiredprairie.us\/blog\/index.php\/wpjson\/wp\/v2\/tags?post=1855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}