Unicode Console Application in Delphi 2009

后端 未结 6 1351
不知归路
不知归路 2020-12-10 14:19

How can I create unicode console application with Delphi 2009?

If I do like this:

{$APPTYPE CONSOLE}
uses
  SysUtils;
begin
  writeln(\'öüğşç سيمانتت         


        
6条回答
  •  天命终不由人
    2020-12-10 15:10

    Windows console cannot display unicode charactes, so try to send output to file with:

    my_app.exe > unicode_file.txt
    

    and try viewing unicode_file.txt with good text editor.

提交回复
热议问题