{"id":175,"date":"2014-04-24T08:12:51","date_gmt":"2014-04-24T08:12:51","guid":{"rendered":"http:\/\/uahost.uantwerpen.be\/bdmp\/EncodingManual\/?page_id=175"},"modified":"2015-10-05T12:22:21","modified_gmt":"2015-10-05T12:22:21","slug":"entities","status":"publish","type":"page","link":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/general-remarks\/entities\/","title":{"rendered":"Entities"},"content":{"rendered":"<p style=\"text-align: justify;\">For your XML transcription to be universally readable, it needs to be encoded in a unicode character set. More specifically, the encoding used is usually either\u00a0<code>encoding=\"ISO-8859-1\"<\/code> or\u00a0<code>encoding=\"UTF-8\"<\/code>. You can find this information in the very first tag of your XML-document:<\/p>\n<div class=\"panel panel-info \"><div class=\"panel-body\"><\/p>\n<p>[xml]\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;[\/xml]<\/p>\n<p><\/div>\n<\/div>\n<p style=\"text-align: justify;\">In practice, this means that all characters that are not standard keyboard characters (which include letters with or without accents, numbers, and interpunction) cannot be used as characters in the transcription. Instead, symbols and other non-standard characters need to be transcribed by means of their <strong>entity reference<\/strong>. This entity reference consists of an opening part (&#039;<strong>&amp;<\/strong>&#039;) a reference number (preceded by a <strong>#<\/strong>) or phrase, and a closing part (always &#039;<strong>;<\/strong>&#039;). Here are some examples:<\/p>\n<p style=\"text-align: justify;\">[table]<br \/>\n,symbol,meaning,code<br \/>\n,\u00a9,copyright sign,&#034;&amp;#169;&#034;<br \/>\n,\u2190,leftwards arrow,&#034;&amp;#8592;&#034;<br \/>\n,\u03b7,greek small letter eta,&#034;&amp;#951;&#034;<br \/>\n,\u0153,small oelig,&#034;&amp;#339;&#034;<br \/>\n,\u2713,check mark,&#034;&amp;#10003;&#034;<br \/>\n,\u2041,caret insertion point\u00a0(addition sign), &#034;&amp;#8257;&#034;<br \/>\n,\u2038,caret (smaller addition sign), &#034;&amp;#8248;&#034;<br \/>\n,<span style=\"font-family: arial;\">\u20b0<\/span>, deleatur (deletion sign), &#034;&amp;#8368;&#034;<br \/>\n[\/table]<\/p>\n<p style=\"text-align: justify;\">Sometimes you might also need to encode symbols that are normally reserved for the XML encoding itself, such as the ampersand sign (<strong>&amp;<\/strong>) or angled brackets (<strong>&lt;<\/strong> or <strong>&gt;<\/strong>). To make sure the computer does not interpret these symbols incorrectly, you should also transcribe them as entities whenever they occur in the text:<\/p>\n<p style=\"text-align: justify;\">[table]<br \/>\n,symbol,meaning,code<br \/>\n,&amp;,ampersand,&#034;&amp;amp;&#034;<br \/>\n,&lt;,&#039;lesser than&#039; sign,&#034;&amp;lt;&#034;<br \/>\n,&gt;,&#039;greater than&#039; sign,&#034;&amp;gt;&#034;<br \/>\n[\/table]<\/p>\n<p style=\"text-align: justify;\">If you come across other symbols that need to be transcribed, <a title=\"Entities\" href=\"http:\/\/www.w3schools.com\/html\/html_entities.asp\">you can find the entity codes for most characters here<\/a>. Or you can go to <a title=\"&amp;what search\" href=\"http:\/\/www.amp-what.com\/unicode\/search\/right%20arrow\">amp-what.com<\/a> and try to describe the symbol in their search engine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For your XML transcription to be universally readable, it needs to be encoded in a unicode character set. More specifically, the encoding used is usually either\u00a0encoding=&#034;ISO-8859-1&#034; or\u00a0encoding=&#034;UTF-8&#034;. You can find this information in the very first tag of your XML-document: In practice, this means that all characters that are not standard keyboard characters (which include [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":19,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-175","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/pages\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":5,"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/pages\/175\/revisions"}],"predecessor-version":[{"id":1407,"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/pages\/175\/revisions\/1407"}],"up":[{"embeddable":true,"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/pages\/19"}],"wp:attachment":[{"href":"https:\/\/bdmpmanual.uantwerpen.be\/index.php\/wp-json\/wp\/v2\/media?parent=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}