mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 23:38:02 +02:00
added iconvtable.lpi
git-svn-id: trunk@14887 -
This commit is contained in:
parent
78a567a5b5
commit
9a99e88d17
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -3605,6 +3605,7 @@ tools/convert_po_file_to_utf-8.sh svneol=native#text/plain
|
||||
tools/copy_po_files_to_lazarus_sources.sh -text svneol=native#application/x-sh
|
||||
tools/delete_non_svn_files.pl svneol=native#text/plain
|
||||
tools/getallpofiles.sh -text svneol=native#application/x-sh
|
||||
tools/iconvtable.lpi svneol=native#text/plain
|
||||
tools/iconvtable.pas svneol=native#text/plain
|
||||
tools/install/README.txt svneol=native#text/plain
|
||||
tools/install/build_fpc_snaphot_rpm.sh svneol=native#text/plain
|
||||
|
53
tools/iconvtable.lpi
Normal file
53
tools/iconvtable.lpi
Normal file
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<PathDelim Value="/"/>
|
||||
<Version Value="6"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InIDEConfig"/>
|
||||
<MainUnit Value="0"/>
|
||||
<IconPath Value="./"/>
|
||||
<TargetFileExt Value=""/>
|
||||
</General>
|
||||
<VersionInfo>
|
||||
<ProjectVersion Value=""/>
|
||||
</VersionInfo>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<IgnoreBinaries Value="False"/>
|
||||
<IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
|
||||
<ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="1">
|
||||
<Item1>
|
||||
<PackageName Value="LCL"/>
|
||||
</Item1>
|
||||
</RequiredPackages>
|
||||
<Units Count="1">
|
||||
<Unit0>
|
||||
<Filename Value="iconvtable.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="iconvtable"/>
|
||||
</Unit0>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
@ -65,6 +65,8 @@ var
|
||||
CharLen: integer;
|
||||
begin
|
||||
// single byte to UTF-8
|
||||
if ParamCount=0 then
|
||||
raise Exception.Create('Usage: '+ParamStr(0)+' <encoding>');
|
||||
|
||||
FromEncoding:=ParamStr(1);
|
||||
ToEncoding:='UTF-8';
|
||||
|
Loading…
Reference in New Issue
Block a user