{"id":396,"date":"2009-06-26T20:15:51","date_gmt":"2009-06-26T18:15:51","guid":{"rendered":"http:\/\/raftaman.net\/?p=396"},"modified":"2021-05-15T11:46:42","modified_gmt":"2021-05-15T09:46:42","slug":"convert-files-from-iso-8859-1-to-utf-8","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=396","title":{"rendered":"Convert files from iso-8859-1 to utf-8"},"content":{"rendered":"<p>How to convert iso-8859-1 charset files into utf-8? Simple:<\/p>\n<pre class=\"brush: plain; light: true; title: ; notranslate\" title=\"\">\r\niconv --from-code=ISO-8859-1 --to-code=UTF-8 oldfile &gt; newfile\r\n<\/pre>\n<p>Of course, your values for <code>--from-code<\/code> and <code>--to-code<\/code> may vary. For a list of available encodings use <code>iconv --list<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to convert iso-8859-1 charset files into utf-8? Simple: iconv &#8211;from-code=ISO-8859-1 &#8211;to-code=UTF-8 oldfile &gt; newfile Of course, your values for &#8211;from-code and &#8211;to-code may vary. For a list of available encodings use iconv &#8211;list<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[28,21],"class_list":["post-396","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bash","tag-utf8"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=396"}],"version-history":[{"count":8,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":2699,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions\/2699"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}