{"id":242,"date":"2010-06-14T09:19:41","date_gmt":"2010-06-14T09:19:41","guid":{"rendered":"http:\/\/psyphi.net\/blog\/?p=242"},"modified":"2010-06-14T09:19:41","modified_gmt":"2010-06-14T09:19:41","slug":"adventures-in-utf-8","status":"publish","type":"post","link":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/","title":{"rendered":"Adventures in UTF-8"},"content":{"rendered":"<p>I think I&#8217;m very nearly at the verge of beginning to understand UTF-8.<\/p>\n<p><strong>Internal UTF-8 string, encoded<\/strong><br \/>\nWrong:<\/p>\n<pre><code>sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")'\r\n&amp;Acirc;&amp;deg;<\/code><\/pre>\n<p>Right:<\/p>\n<pre><code>sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")'\r\n&amp;deg;<\/code><\/pre>\n<p><strong>External UTF-8 input, encoded<\/strong><br \/>\nWrong:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -MHTML::Entities -e 'print encode_entities(&lt;&gt;)'\r\n&amp;Acirc;&amp;deg;<\/code><\/pre>\n<p>Right:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -MHTML::Entities -e 'binmode STDIN, \":utf8\"; print encode_entities(&lt;&gt;)'\r\n&amp;deg;<\/code><\/pre>\n<p><strong>External UTF-8 string, as UTF-8 (unencoded)<\/strong><br \/>\nWrong:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -e 'binmode STDIN, \":utf8\"; print &lt;&gt;'\r\n?<\/code><\/pre>\n<p>Right:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -e 'binmode STDIN, \":utf8\"; \r\nbinmode STDOUT, \":utf8\"; print &lt;&gt;'\r\n\u00c2\u00b0<\/code><\/pre>\n<p><strong>External Input &#8211; Encoding after-the-fact<\/strong><br \/>\nWrong:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -Mutf8 -e '$in=&lt;&gt;; utf8::upgrade($in);\r\nbinmode STDOUT, \":utf8\"; print $in'\r\n\u00c3\u201a\u00c2\u00b0<\/code><\/pre>\n<p>Wrong:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -Mutf8 -e '$in=&lt;&gt;; utf8::encode($in);\r\nbinmode STDOUT, \":utf8\"; print $in'\r\n\u00c3\u0192\u00c2\u201a\u00c3\u201a\u00c2\u00b0<\/code><\/pre>\n<p>Wrong:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -Mutf8 -e '$in=&lt;&gt;; utf8::downgrade($in); \r\nbinmode STDOUT, \":utf8\"; print $in'\r\n\u00c3\u201a\u00c2\u00b0<\/code><\/pre>\n<p>Right:<\/p>\n<pre><code>sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -Mutf8 -e '$in=&lt;&gt;; utf8::decode($in);\r\nbinmode STDOUT, \":utf8\"; print $in'\r\n\u00c2\u00b0<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I think I&#8217;m very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e &#8216;print encode_entities(&#8220;\u00c2\u00b0&#8221;)&#8217; &amp;Acirc;&amp;deg; Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e &#8216;print encode_entities(&#8220;\u00c2\u00b0&#8221;)&#8217; &amp;deg; External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &#8220;\u00c2\u00b0&#8221; | perl -MHTML::Entities -e &#8216;print encode_entities(&lt;&gt;)&#8217; &amp;Acirc;&amp;deg; Right: sentinel:~ rmp$ &hellip; <a href=\"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Adventures in UTF-8&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[11],"tags":[406,407,21,405,404],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-programming","tag-encoding","tag-entities","tag-perl","tag-utf-8","tag-utf8"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I think I&#039;m very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &quot;\u00c2\u00b0&quot; | perl -MHTML::Entities -e &#039;print encode_entities()&#039; \u00c2\u00b0 Right: sentinel:~ rmp$\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Roger Pettett\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"psyphi.net blog - Another collection of braingunk and technolint\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Adventures in UTF-8 - psyphi.net blog\" \/>\n\t\t<meta property=\"og:description\" content=\"I think I&#039;m very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &quot;\u00c2\u00b0&quot; | perl -MHTML::Entities -e &#039;print encode_entities()&#039; \u00c2\u00b0 Right: sentinel:~ rmp$\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-06-14T09:19:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-06-14T09:19:41+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Adventures in UTF-8 - psyphi.net blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I think I&#039;m very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e &#039;print encode_entities(&quot;\u00c2\u00b0&quot;)&#039; \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &quot;\u00c2\u00b0&quot; | perl -MHTML::Entities -e &#039;print encode_entities()&#039; \u00c2\u00b0 Right: sentinel:~ rmp$\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#blogposting\",\"name\":\"Adventures in UTF-8 - psyphi.net blog\",\"headline\":\"Adventures in UTF-8\",\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"},\"datePublished\":\"2010-06-14T09:19:41+00:00\",\"dateModified\":\"2010-06-14T09:19:41+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#webpage\"},\"articleSection\":\"programming, encoding, entities, perl, utf-8, utf8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"name\":\"programming\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"position\":2,\"name\":\"programming\",\"item\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#listItem\",\"name\":\"Adventures in UTF-8\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#listItem\",\"position\":3,\"name\":\"Adventures in UTF-8\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/category\\\/programming\\\/#listItem\",\"name\":\"programming\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/\",\"name\":\"Roger Pettett\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Roger Pettett\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#webpage\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/\",\"name\":\"Adventures in UTF-8 - psyphi.net blog\",\"description\":\"I think I'm very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(\\\"\\u00c2\\u00b0\\\")' \\u00c2\\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(\\\"\\u00c2\\u00b0\\\")' \\u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo \\\"\\u00c2\\u00b0\\\" | perl -MHTML::Entities -e 'print encode_entities()' \\u00c2\\u00b0 Right: sentinel:~ rmp$\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/2010\\\/06\\\/adventures-in-utf-8\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/author\\\/rmp\\\/#author\"},\"datePublished\":\"2010-06-14T09:19:41+00:00\",\"dateModified\":\"2010-06-14T09:19:41+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/\",\"name\":\"psyphi.net blog\",\"description\":\"Another collection of braingunk and technolint\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/psyphi.net\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adventures in UTF-8 - psyphi.net blog","description":"I think I'm very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")' \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")' \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -MHTML::Entities -e 'print encode_entities()' \u00c2\u00b0 Right: sentinel:~ rmp$","canonical_url":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#blogposting","name":"Adventures in UTF-8 - psyphi.net blog","headline":"Adventures in UTF-8","author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"},"datePublished":"2010-06-14T09:19:41+00:00","dateModified":"2010-06-14T09:19:41+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#webpage"},"isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#webpage"},"articleSection":"programming, encoding, entities, perl, utf-8, utf8"},{"@type":"BreadcrumbList","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","position":1,"name":"Home","item":"https:\/\/psyphi.net\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","name":"programming"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","position":2,"name":"programming","item":"https:\/\/psyphi.net\/blog\/category\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#listItem","name":"Adventures in UTF-8"},"previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#listItem","position":3,"name":"Adventures in UTF-8","previousItem":{"@type":"ListItem","@id":"https:\/\/psyphi.net\/blog\/category\/programming\/#listItem","name":"programming"}}]},{"@type":"Organization","@id":"https:\/\/psyphi.net\/blog\/#organization","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","url":"https:\/\/psyphi.net\/blog\/"},{"@type":"Person","@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author","url":"https:\/\/psyphi.net\/blog\/author\/rmp\/","name":"Roger Pettett","image":{"@type":"ImageObject","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f715f8335258578c567eb8c22335f1cee22c971c2aff8be27c4d8d934c436503?s=96&d=mm&r=g","width":96,"height":96,"caption":"Roger Pettett"}},{"@type":"WebPage","@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#webpage","url":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/","name":"Adventures in UTF-8 - psyphi.net blog","description":"I think I'm very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")' \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(\"\u00c2\u00b0\")' \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo \"\u00c2\u00b0\" | perl -MHTML::Entities -e 'print encode_entities()' \u00c2\u00b0 Right: sentinel:~ rmp$","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/psyphi.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/#breadcrumblist"},"author":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"creator":{"@id":"https:\/\/psyphi.net\/blog\/author\/rmp\/#author"},"datePublished":"2010-06-14T09:19:41+00:00","dateModified":"2010-06-14T09:19:41+00:00"},{"@type":"WebSite","@id":"https:\/\/psyphi.net\/blog\/#website","url":"https:\/\/psyphi.net\/blog\/","name":"psyphi.net blog","description":"Another collection of braingunk and technolint","inLanguage":"en-US","publisher":{"@id":"https:\/\/psyphi.net\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"psyphi.net blog - Another collection of braingunk and technolint","og:type":"article","og:title":"Adventures in UTF-8 - psyphi.net blog","og:description":"I think I'm very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(&quot;\u00c2\u00b0&quot;)' \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(&quot;\u00c2\u00b0&quot;)' \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &quot;\u00c2\u00b0&quot; | perl -MHTML::Entities -e 'print encode_entities()' \u00c2\u00b0 Right: sentinel:~ rmp$","og:url":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/","article:published_time":"2010-06-14T09:19:41+00:00","article:modified_time":"2010-06-14T09:19:41+00:00","twitter:card":"summary_large_image","twitter:title":"Adventures in UTF-8 - psyphi.net blog","twitter:description":"I think I'm very nearly at the verge of beginning to understand UTF-8. Internal UTF-8 string, encoded Wrong: sentinel:~ rmp$ perl -MHTML::Entities -e 'print encode_entities(&quot;\u00c2\u00b0&quot;)' \u00c2\u00b0 Right: sentinel:~ rmp$ perl -Mutf8 -MHTML::Entities -e 'print encode_entities(&quot;\u00c2\u00b0&quot;)' \u00b0 External UTF-8 input, encoded Wrong: sentinel:~ rmp$ echo &quot;\u00c2\u00b0&quot; | perl -MHTML::Entities -e 'print encode_entities()' \u00c2\u00b0 Right: sentinel:~ rmp$"},"aioseo_meta_data":{"post_id":"242","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-05-16 14:00:01","updated":"2025-08-15 17:25:13","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/psyphi.net\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/psyphi.net\/blog\/category\/programming\/\" title=\"programming\">programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdventures in UTF-8\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/psyphi.net\/blog"},{"label":"programming","link":"https:\/\/psyphi.net\/blog\/category\/programming\/"},{"label":"Adventures in UTF-8","link":"https:\/\/psyphi.net\/blog\/2010\/06\/adventures-in-utf-8\/"}],"_links":{"self":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":10,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/posts\/242\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psyphi.net\/blog\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}