{"id":1141,"date":"2013-02-06T16:54:43","date_gmt":"2013-02-06T23:54:43","guid":{"rendered":"http:\/\/www.laurenwood.org\/anyway\/?p=1141"},"modified":"2013-02-06T16:54:43","modified_gmt":"2013-02-06T23:54:43","slug":"tracking-down-decimal-146","status":"publish","type":"post","link":"https:\/\/www.laurenwood.org\/anyway\/2013\/02\/tracking-down-decimal-146\/","title":{"rendered":"Tracking down decimal 146"},"content":{"rendered":"<p>This goes into the \u2018saves time\u2019 cat\u00adegory and is slightly too long to fit into 140 characters.<\/p>\n<p>If you\u2019re using <span class=\"caps\">XSLT<\/span> on some <span class=\"caps\">XML<\/span> file that has had a mis\u00adcel\u00adlaneous his\u00adtory and you see the error <code>Illegal HTML character: decimal 146<\/code> (or some\u00adthing sim\u00adil\u00adar), don\u2019t pan\u00adic or break out your hex view\u00ader to try to find the ran\u00addom char\u00adac\u00adter that\u2019s caus\u00ading the problem.<\/p>\n<p>Get <a href=\"http:\/\/www.jedit.org\/\">jEd\u00adit<\/a> instead. Open the file in jEd\u00adit, and go to the menu <em>Util\u00adit\u00adies<\/em> -&gt; <em>Buf\u00adfer Options<\/em>. In the char\u00adac\u00adter encod\u00ading drop-down, choose Win\u00addows-1252. The error message(s) will point you right at the offend\u00ading character(s). For added fun, repeat with <span class=\"caps\">ISO-8859<\/span>\u20131 to flush out oth\u00ader odd char\u00adac\u00adters that aren\u2019t illeg\u00adal, but may not show up cor\u00adrectly depend\u00ading on your down-stream pro\u00adcessing (lig\u00adat\u00adures, etc.). Then switch back to <span class=\"caps\">UTF<\/span>\u20118 or whatever you need, save, and you\u2019re done!<\/p>\n<p>JEd\u00adit also has decent <span class=\"caps\">XML<\/span> fea\u00adtures if you install the plu\u00adgins, an added&nbsp;bonus.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This goes into the \u2018saves time\u2019 cat\u00adegory and is slightly too long to fit into 140 char\u00adac\u00adters. If you\u2019re using <span class=\"caps\">XSLT<\/span> on some <span class=\"caps\">XML<\/span> file that has had a mis\u00adcel\u00adlaneous his\u00adtory and you see the error Illeg\u00adal <span class=\"caps\">HTML<\/span> char\u00adac\u00adter: decim\u00adal 146 (or some\u00adthing sim\u00adil\u00adar), don\u2019t pan\u00adic or break out your hex view\u00ader to try to \u2026 <a href=\"https:\/\/www.laurenwood.org\/anyway\/2013\/02\/tracking-down-decimal-146\/\" class=\"more-link\">Con\u00adtin\u00adue read\u00ading<span class=\"screen-reader-text\"> \u201cTrack\u00ading down decim\u00adal&nbsp;146\u201d<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[105],"tags":[106],"class_list":["post-1141","post","type-post","status-publish","format-standard","hentry","category-xml","tag-xslt-useful"],"_links":{"self":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":3,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1144,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/posts\/1141\/revisions\/1144"}],"wp:attachment":[{"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laurenwood.org\/anyway\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}