{"id":3674,"date":"2014-03-29T07:48:34","date_gmt":"2014-03-29T07:48:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/clojure-failing-to-print-non-ascii-chars-on-os-x-collection-of-common-programming-errors\/"},"modified":"2014-03-29T07:48:34","modified_gmt":"2014-03-29T07:48:34","slug":"clojure-failing-to-print-non-ascii-chars-on-os-x-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/clojure-failing-to-print-non-ascii-chars-on-os-x-collection-of-common-programming-errors\/","title":{"rendered":"Clojure failing to print non-ASCII chars on OS X-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;ve installed Clojure 1.2.0 using Homebrew package management system on Mac OS X 10.6.4. Running:<\/p>\n<pre><code>$ clj -e '(println \"??????? ????\\n\")'\n<\/code><\/pre>\n<p>in the Terminal results in:<\/p>\n<pre><code>??????? ????\n<\/code><\/pre>\n<p>While running in the same terminal:<\/p>\n<pre><code>$ php -r 'echo \"??????? ????\\n\";'\n<\/code><\/pre>\n<p>displays the Cyrillic text correctly.<\/p>\n<p>The same effect when running <code>$ clj<\/code><\/p>\n<p>Is that a known issue? Java Runtime-related? I thought at this point languages finally <em>get<\/em> Unicode right.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve installed Clojure 1.2.0 using Homebrew package management system on Mac OS X 10.6.4. Running: $ clj -e &#8216;(println &#8220;??????? ????\\n&#8221;)&#8217; in the Terminal results in: ??????? ???? While running in the same terminal: $ php -r &#8216;echo &#8220;??????? ????\\n&#8221;;&#8217; displays the Cyrillic text correctly. The same effect when running $ clj Is that a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3674","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3674"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3674\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}