{"id":959,"date":"2021-04-06T18:01:48","date_gmt":"2021-04-06T16:01:48","guid":{"rendered":"https:\/\/www.kassebaum.eu\/?p=959"},"modified":"2021-04-06T18:01:48","modified_gmt":"2021-04-06T16:01:48","slug":"encoding-of-pas-files-part-2","status":"publish","type":"post","link":"https:\/\/www.kassebaum.eu\/blog\/2021\/04\/06\/encoding-of-pas-files-part-2\/","title":{"rendered":"Encoding of .pas files part 2"},"content":{"rendered":"<p>In my last post I explained that it is a good strategy to encode .pas files in UTF8. From RAD Studio 10.4 you can set under &#8220;Tools\/Options\/User Interface\/Editor&#8221; the &#8220;Default file encoding&#8221; to UTF8. In older versions of RAD Studio like e.g. Tokyo (version 19.0) you can set the hidden registry key<\/p>\n<p>HKEY_CURRENT_USER\\Software\\Embarcadero\\BDS\\19.0\\Editor]<br \/>\n&#8220;DefaultFileFilter&#8221;=&#8221;Borland.FileFilter.UTF8ToUTF8&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post I explained that it is a good strategy to encode .pas files in UTF8. From RAD Studio 10.4 you can set under &#8220;Tools\/Options\/User Interface\/Editor&#8221; the &#8220;Default file encoding&#8221; to UTF8. In older versions of RAD Studio &hellip; <a href=\"https:\/\/www.kassebaum.eu\/blog\/2021\/04\/06\/encoding-of-pas-files-part-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,34,35,38,39,13,21,23,27,3,1],"tags":[],"class_list":["post-959","post","type-post","status-publish","format-standard","hentry","category-rad-studio-10-seattle","category-rad-studio-10-1-berlin","category-rad-studio-10-2-tokyo","category-rad-studio-10-3-rio","category-rad-studio-10-4-sydney","category-rad-studio-xe5","category-rad-studio-xe6","category-rad-studio-xe7","category-rad-studio-xe8","category-tipsandtricks","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/comments?post=959"}],"version-history":[{"count":4,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/959\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/959\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/media?parent=959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/categories?post=959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/tags?post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}