mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 18:53:41 +02:00
18 lines
270 B
ObjectPascal
18 lines
270 B
ObjectPascal
uses
|
|
{$ifdef unix}
|
|
{$ifdef darwin}iosxwstr{$else}cwstring{$endif},
|
|
{$endif unix}
|
|
SysUtils;
|
|
|
|
type
|
|
ts866 = type AnsiString(866);
|
|
var
|
|
a866 : ts866;
|
|
begin
|
|
a866 := '';
|
|
SetLength(a866,10);
|
|
if (StringCodePage(a866) <> 866) then
|
|
halt(1);
|
|
WriteLn('ok');
|
|
end.
|