fpc/tests/test/tcpstransistrcompareequal.pp
2015-02-23 22:48:15 +00:00

22 lines
342 B
ObjectPascal

uses
{$ifdef unix}
{$ifdef darwin}iosxwstr{$else}cwstring{$endif},
{$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.