On Wed, Sep 15, 2021 at 12:14 PM Abuy via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

> I need string with Windows-1251. Tried var msg: AnsiString(1251) but
> this does not work. What I am doing now is

This should work

type
  StringCP1251 = AnsiString(1251)
var
  S: StringCP1251;


-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to