mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 14:17:15 +01:00
22 lines
304 B
ObjectPascal
22 lines
304 B
ObjectPascal
uses
|
|
{$ifdef unix}
|
|
cwstring,
|
|
{$endif unix}
|
|
SysUtils;
|
|
|
|
type
|
|
ts1253 = type AnsiString(1253);
|
|
ts1251 = type AnsiString(1251);
|
|
var
|
|
s1 : ts1253;
|
|
s2 : ts1251;
|
|
au : unicodestring;
|
|
begin
|
|
au := #$20AC; // Euro symbol
|
|
s1 := au;
|
|
s2 := au;
|
|
if (s1<>s2) then
|
|
halt(1);
|
|
writeln('ok');
|
|
end.
|