{"id":2615,"date":"2014-02-12T11:06:04","date_gmt":"2014-02-12T10:06:04","guid":{"rendered":"https:\/\/www.itlektor.cz\/?p=2615"},"modified":"2020-09-04T09:43:06","modified_gmt":"2020-09-04T07:43:06","slug":"vychozi-kodovani-textoveho-souboru-pri-importu","status":"publish","type":"post","link":"https:\/\/www.itlektor.cz\/en\/vychozi-kodovani-textoveho-souboru-pri-importu\/","title":{"rendered":"Default text encoding typ for import"},"content":{"rendered":"<p><\/p>\n<p style=\"text-align: justify;\">Maybe the article title does not say anything, but if you are often importing <em>txt<\/em> or <em>csv<\/em> files in Excel, this guide will help you set the default encoding type. Generally importing serve to convert the file from another application into spreadsheets in Excel. This guide will help you import text, you can find it on the <strong>Data<\/strong> tab &gt; <strong>Get External Data<\/strong>&gt; <strong>From text<\/strong>.<\/p>\n<figure id=\"attachment_2616\" aria-describedby=\"caption-attachment-2616\" style=\"width: 502px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1.png\"><img decoding=\"async\" class=\" wp-image-2616\" src=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1.png\" alt=\"Import textu\" width=\"502\" height=\"334\" title=\"\" srcset=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1.png 627w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1-300x200.png 300w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/a><figcaption id=\"caption-attachment-2616\" class=\"wp-caption-text\">Picture 1 &#8211; Import text<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">File encoding determines whether the stored data will be properly displayed, especially true for special characters with hooks or commas &#8211; for Czechs therefore quite important issue.<\/p>\n<p style=\"text-align: justify;\">In picture\u00a01\u00a0we see the Text Import Wizard, the first step to set the encoding type, but the offered are not always the right one. So to not\u00a0have to change every time you import this type of coding on the right one (eg. UTF-8, Windows 1250, etc.), it is possible to set the default type, but unfortunately not through a simple menu, but intervention in the Windows registry. Do not worry, you can do it if you follow these instructions. If you are not comfortable with it, hand over this task to someone advanced.<\/p>\n<p style=\"text-align: justify;\">To change the default encoding in the registry do as follows:<\/p>\n<ol>\n<li>Start the Registry Editor tool &#8211; REGEDIT, which is part of Windows. Just go to\u00a0Start &gt; Run command\u00a0<strong>&#8220;regedit&#8221;.<\/strong><\/li>\n<li>Here locate the entry:<br \/>\nHKEY_CURRENT_USER&gt;Software&gt;Microsoft&gt;Office&gt;14.0&gt;Excel&gt;Options<br \/>\n(number indicates the version you have &#8211; eg. version 2013 has the number 15.0).<\/li>\n<li>Create a new value, right-click on the Options item on the left, set <strong>New&gt; DWORD<\/strong> see Figure # 2.<\/li>\n<li>In the right list of values add a new item, which named as <strong>DefaultCPG<\/strong>.<\/li>\n<li>Then right-click it and select <strong>Modify<\/strong>.<\/li>\n<li>The window opens setting values, where select <strong>Decimal<\/strong> and enter the encoding (the number of\u00a0type inText Import Wizard, see Fig. 1). For UTF-8 this number is 65001, see Fig.\u00a03.<\/li>\n<li>Confirm the value by pressing the OK button and you are done.<\/li>\n<\/ol>\n<div id='gallery-2' class='gallery galleryid-2615 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1.png\"><img decoding=\"async\" width=\"130\" height=\"130\" src=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1-130x130.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-2616\" srcset=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1-130x130.png 130w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/import1-150x150.png 150w\" sizes=\"(max-width: 130px) 100vw, 130px\" title=\"\"><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-2616'>\n\t\t\t\tObr. 1: Importov\u00e1n\u00ed souboru\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit.png\"><img decoding=\"async\" width=\"130\" height=\"130\" src=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit-130x130.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-2617\" srcset=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit-130x130.png 130w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit-150x150.png 150w\" sizes=\"(max-width: 130px) 100vw, 130px\" title=\"\"><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-2617'>\n\t\t\t\tObr. 2: Vytvo\u0159en\u00ed hodnoty DWORD\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit2.png\"><img decoding=\"async\" width=\"130\" height=\"130\" src=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit2-130x130.png\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-2618\" srcset=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit2-130x130.png 130w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2014\/02\/regedit2-150x150.png 150w\" sizes=\"(max-width: 130px) 100vw, 130px\" title=\"\"><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-2618'>\n\t\t\t\tObr. 3: Nastaven\u00ed hodnoty DWORD\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\n<p style=\"text-align: justify;\">If this guide has helped you, become a fan on <a href=\"http:\/\/www.facebook.com\/itlektorcz\" target=\"_blank\" rel=\"noopener\">Facebook<\/a> and recommend this site to your friends, it\u00a0can be useful for them too.<\/p>\n<p><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Maybe the article title does not say anything, but if you are often importing txt or csv files in Excel, this guide will help you set the default encoding type. Generally importing serve to convert the file from another application into spreadsheets in Excel. This guide will help you import text, you can find it [&hellip;]<!-- 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":2616,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","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":""},"categories":[3],"tags":[10,58,50],"_links":{"self":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts\/2615"}],"collection":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/comments?post=2615"}],"version-history":[{"count":0,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts\/2615\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/media\/2616"}],"wp:attachment":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/media?parent=2615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/categories?post=2615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/tags?post=2615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}