How can I set the default file format in the Delphi IDE to UTF8?

前端 未结 5 1031
无人及你
无人及你 2021-02-04 13:39

Delphi 2009 sets the default file format for new source code files to ANSI, this makes the source code platform-dependent.

Even for a new XSD file created in the IDE, wh

5条回答
  •  野的像风
    2021-02-04 13:52

    Although the answer from MBulli should be still relevant, since version 10.4 of Delphi (as far as I remember) it is possible to change the default encoding within the IDE.

    Go to Tools > Options and choose User interface > Editor from the navigation area.

    You will find the Default file encoding setting down below.

提交回复
热议问题