{"id":956,"date":"2021-04-03T01:11:11","date_gmt":"2021-04-02T23:11:11","guid":{"rendered":"https:\/\/www.kassebaum.eu\/?p=956"},"modified":"2021-04-03T01:11:11","modified_gmt":"2021-04-02T23:11:11","slug":"encoding-of-pas-files","status":"publish","type":"post","link":"https:\/\/www.kassebaum.eu\/blog\/2021\/04\/03\/encoding-of-pas-files\/","title":{"rendered":"Encoding of .pas files"},"content":{"rendered":"<p>This week I would like to talk about the encoding of .pas files. Normally they are ANSI encoded which is no problem since all Delphi statements are ASCII encoded. But the exception are comments. Many developers overlook this issue, but they write comments in their native language and then it can happen that their are non-ASCII chars like German umlauts. In this case it is necessary to encode the source files in UTF8. Be careful, look at your comments or simply always encode the sources in UTF8.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I would like to talk about the encoding of .pas files. Normally they are ANSI encoded which is no problem since all Delphi statements are ASCII encoded. But the exception are comments. Many developers overlook this issue, but &hellip; <a href=\"https:\/\/www.kassebaum.eu\/blog\/2021\/04\/03\/encoding-of-pas-files\/\">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":[20,31,32,34,35,38,39,13,21,23,27,3,1],"tags":[],"class_list":["post-956","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","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\/956","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=956"}],"version-history":[{"count":2,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/956\/revisions"}],"predecessor-version":[{"id":958,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/posts\/956\/revisions\/958"}],"wp:attachment":[{"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/categories?post=956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kassebaum.eu\/blog\/wp-json\/wp\/v2\/tags?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}