{"id":1930,"date":"2020-04-06T18:11:52","date_gmt":"2020-04-06T18:11:52","guid":{"rendered":"http:\/\/xplortext.unileon.es\/?page_id=1930"},"modified":"2020-04-07T16:36:33","modified_gmt":"2020-04-07T16:36:33","slug":"utf-encoding-of-scripts-and-databases-in-this-web","status":"publish","type":"page","link":"https:\/\/xplortext.unileon.es\/?page_id=1930","title":{"rendered":"UTF Encoding of scripts and databases in this web"},"content":{"rendered":"<p>Examples and databases in this web will only be in UTF format.<\/p>\n<p>We will present some instructions to use it if you have another encoding in your R or RStudio, and if you want to transform UTF into another encoding.<\/p>\n<h2><span style=\"color: #ff0000;\">RStudio<\/span><\/h2>\n<p>- To select encoding by defect:<\/p>\n<p><a href=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1938\" src=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_01-286x300.jpg\" alt=\"\" width=\"286\" height=\"300\" srcset=\"https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_01-286x300.jpg 286w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_01.jpg 332w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-1941\" src=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_03-300x295.jpg\" alt=\"\" width=\"478\" height=\"470\" srcset=\"https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_03-300x295.jpg 300w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_03.jpg 590w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/a><\/p>\n<p>- To reopen a script with a \"wrong\" format for us:<\/p>\n<p><a href=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1945\" src=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_04-300x152.jpg\" alt=\"\" width=\"300\" height=\"152\" srcset=\"https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_04-300x152.jpg 300w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_04.jpg 373w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the next window, if our encoding is not in the list check \"Show all encodins\". We can also select UTF-8 as default:<\/p>\n<p><a href=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1946\" src=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05-298x300.jpg\" alt=\"\" width=\"298\" height=\"300\" srcset=\"https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05-298x300.jpg 298w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05-150x150.jpg 150w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05-160x160.jpg 160w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/UTF_05.jpg 366w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><\/a><\/p>\n<h2><span style=\"color: #ff0000;\">R<\/span><\/h2>\n<p>If we use the R interface and we have problems reading the script into the console:<a href=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/Error_01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1954\" src=\"http:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/Error_01.jpg\" alt=\"\" width=\"783\" height=\"143\" srcset=\"https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/Error_01.jpg 783w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/Error_01-300x55.jpg 300w, https:\/\/xplortext.unileon.es\/wp-content\/uploads\/2020\/04\/Error_01-768x140.jpg 768w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/a><\/p>\n<p>we can open the script with Notepad and save it as \"UTF-8 with BOM\".<\/p>\n<p>For more aspects:<\/p>\n<p><a href=\"https:\/\/xplortext.unileon.es\/?page_id=1114\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color: #ff0000;\"><u>Some typical problems when importing texts in Windows, Linux and MAC \u00a0<\/u><\/span><\/a>&lt;- Click<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Examples and databases in this web will only be in UTF format. We will present some instructions to use it if you have another encoding in your R or RStudio, and if you want&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1930","page","type-page","status-publish","hentry","category-utf"],"_links":{"self":[{"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/pages\/1930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1930"}],"version-history":[{"count":11,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/pages\/1930\/revisions"}],"predecessor-version":[{"id":1955,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=\/wp\/v2\/pages\/1930\/revisions\/1955"}],"wp:attachment":[{"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xplortext.unileon.es\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}