On Wed, Sep 15, 2021 at 12:32 PM Bart <bartjunk64 at gmail.com> wrote: > This should work > > type > StringCP1251 = AnsiString(1251) That should be type StringCP1251 = type AnsiString(1251); -- Bart