• Дмитрий Белькевич © (06.06.16 21:49) [0]
    Всем добрый день. Скажите - как сделать использование строк в FPC 3.0 максимально близким к юникодовым делфи (2010+ )? То есть - что бы string/char были во всём проекте (в том числе и в бибилиотеках) юникодовые. Если такое вообще возможно.
  • NoUser © (07.06.16 14:24) [1]
    в http://wiki.freepascal.org/FPC_New_Features_3.0 есть такое

    > New delphiunicode syntax mode
    Overview:
     The new syntax mode {$mode delphiunicode} combines the behaviour of {$mode delphi} with functionality that is specific to Delphi versions that switched to UnicodeString by default (Delphi 2009 and later).
    Notes:
     This syntax mode is still in its infancy, and is not yet fully functional. In particular, there is no RTL yet that is largely compatible with Delphi 2009 and later.
     The only features currently provided by this syntax mode are changing the default source file codepage to the system codepage, and changing the meaning of String (in {$H+} mode)/char/pchar to UnicodeString/WideChar/PWideChar.
     The codepage-aware AnsiStrings are always active in all syntax modes.


    насколько поможет делу не знаю, но юникод он и в FPC юникод, только UTF-8.
  • Дмитрий Белькевич © (09.06.16 10:35) [2]
    Спасибо, буду разбираться
Есть новые Нет новых   [118232   +40][b:0][p:0]