Free Pascal Lazarus, . , , Free Pascal Lazarus Turbo Pascal7 7.
Free Pascal (FPC) 32- 64- Pascal.
Run-Time , : DOS, Linux,
Windows, FreeBSD.
Free Pascal , , Turbo Pascal 7.0 Delphi 7 ( ), , . , , .
Lazarus - Free Pascal Delphi. Free Pascal - , GNU Public License (GPL), : Linux, Win32, OS/2, 68K . Free Pascal , - Delphi. Lazarus - , Delphi- . Java, , Lazarus Free Pascal "" .
FreePascal ( \doc\), (eng), Offline.
, , :
.. .. - Turbo Pascal 7.0 ( .djvu, 2Mb) ...
- (, ), .
IDE Free Pascal Borland Pascal ( - ). Turbo.tph ( . , Internet VideoLord.) - (0,3 .rar). - Turbo.tph Turbo.tph
, , . ( ). ( ) ( uses), Ctrl . ( Ctrl - )
<?
//Copyright: akaghost@ua.fm
$ttbl=array(""=>"А",""=>"Б",""=>"В",""=>"Г",""=>"Д",""=>"Е",""=>"Ё",
""=>"Ж",""=>"З",""=>"И",""=>"Й",""=>"К",""=>"Л",""=>"М",""=>"Н",
""=>"О",""=>"П",""=>" ",""=>"С",""=>"Т",""=>"У",""=>"Ф",""=>"Х",
""=>"Ц",""=>"Ч",""=>"Ш",""=>"Щ",""=>"Ъ",""=>"Ы",""=>"Ь",""=>"Э",
""=>"Ю",""=>"Я",""=>"Ї",""=>"І",""=>"Є",""=>"Ў",""=>"а",""=>"б",
""=>"в",""=>"г",""=>"д",""=>"е",""=>"ё",""=>"ж",""=>"з",""=>"и",
""=>"й",""=>"к",""=>"л",""=>"м",""=>"н",""=>"о",""=>"п",""=>"р",
""=>"с",""=>"т",""=>"у",""=>"ф",""=>"х",""=>"ц",""=>"ч",""=>"ш",
""=>"щ",""=>"ъ",""=>"ы",""=>"ь",""=>"э",""=>"ю",""=>"я",""=>"і",
""=>"ї",""=>"є",""=>"ў");
$string=join("", file("input.win"));
echo strtr($string, $ttbl);
?>
program win1251_UTF_8;
var
f1, f2: Text;
s: string;
begin
if paramcount<2 then
begin
writeln('Usage: win1251_UTF_8 infile outfile');
readln; halt(1);
end;
Assign(f1, ParamStr(1));
Reset(f1);
Assign(f2, ParamStr(2));
Rewrite(f2);
while not EOF(f1) do
begin
ReadLn(f1, s);
WriteLn(f2, AnsiToUtf8(s));
end;
Close(f1); Close(f2);
end.