{"id":1708,"date":"2014-01-16T12:26:54","date_gmt":"2014-01-16T12:26:54","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=1708"},"modified":"2014-01-16T13:09:11","modified_gmt":"2014-01-16T13:09:11","slug":"text-encoding-convertor","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=1708","title":{"rendered":"Text Encoding Convertor"},"content":{"rendered":"<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ find . -exec file {} \\;\r\n\r\n$ iconv -f UTF-8 -t ISO-8859-15 in.txt &gt; out.txt\r\n$ iconv          -t ISO-8859-15 in.txt &gt; out.txt # ohne input-encoding\r\n$ iconv --from-code UTF-8 --to-code ISO-8859-15 in.txt &gt; out.txt\r\n<\/pre>\n<h4>stackoverflow<\/h4>\n<p><a href=\"http:\/\/stackoverflow.com\/questions\/64860\/best-way-to-convert-text-files-between-character-sets\">Best way to convert text files between character sets?<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/11316986\/how-to-convert-iso8859-15-to-utf8\">How to convert ISO8859-15 to UTF8<\/a><br \/>\n<a href=\"http:\/\/www.f15ijp.com\/2010\/02\/linux-converting-a-file-encoded-in-iso-8859-1-to-utf-8\/\">Linux: Converting a file encoded in ISO-8859-1 to UTF-8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ find . -exec file {} \\; $ iconv -f UTF-8 -t ISO-8859-15 in.txt &gt; out.txt $ iconv -t ISO-8859-15 in.txt &gt; out.txt # ohne input-encoding $ iconv &#8211;from-code UTF-8 &#8211;to-code ISO-8859-15 in.txt &gt; out.txt stackoverflow Best way to convert text files between character sets? How to convert ISO8859-15 to UTF8 Linux: Converting a file [&hellip;]<\/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":[],"class_list":["post-1708","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1708"}],"version-history":[{"count":4,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1708\/revisions"}],"predecessor-version":[{"id":1714,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/1708\/revisions\/1714"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}