{"id":29,"date":"2007-04-12T17:21:54","date_gmt":"2007-04-12T15:21:54","guid":{"rendered":"http:\/\/blog.ansuz.nl\/index.php\/2007\/04\/12\/xml-and-latin-1-characters\/"},"modified":"2008-04-13T17:11:48","modified_gmt":"2008-04-13T15:11:48","slug":"xml-and-latin-1-characters","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2007\/04\/12\/xml-and-latin-1-characters\/","title":{"rendered":"XML and Latin-1 characters"},"content":{"rendered":"<p>You should use the decimal character references for these characters to use them in your XML. So instead of writing \u00c3\u00a1, you should write &#8216;&amp; # 2 2 5 ;&#8217; (remove the spaces). This way Flash will display the characters correctly.<br \/>\nA list of the char references can be found at:  <a href=\"http:\/\/www.bbsinc.com\/iso8859.html\" target=\"_blank\">http:\/\/www.bbsinc.com\/iso8859.html<\/a><\/p>\n<p>EDIT: Another way of solving this is setting the XML encoding to UTF-8.<\/p>\n<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">xml<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"xml\" style=\"font-family:monospace\"><li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #ddbb00\">&amp;lt;<\/span>?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?<span style=\"color: #ddbb00\">&amp;gt;<\/span><\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>You should use the decimal character references for these characters to use them in your XML. So instead of writing \u00c3\u00a1, you should write &#8216;&amp; # 2 2 5 ;&#8217; (remove the spaces). This way Flash will display the characters &hellip; <a href=\"http:\/\/blog.ansuz.nl\/index.php\/2007\/04\/12\/xml-and-latin-1-characters\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[14,15],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-actionscript2","tag-actionscript-20","tag-xml"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}