Changeset 170 for trunk/Packages/VCard/VCard.pas
- Timestamp:
- Jul 2, 2023, 11:07:39 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/VCard/VCard.pas
r168 r170 698 698 Lines := TStringList.Create; 699 699 Lines.LoadFromFile(FileName); 700 {$IF FPC_FULLVERSION>=30200}701 if (Length(Lines.Text) > 0) and (Pos(VCardBegin, Lines.Text) = 0) then begin702 Lines.LoadFromFile(FileName, TEncoding.Unicode);703 if (Length(Lines.Text) > 0) and (Pos(VCardBegin, Lines.Text) = 0) then begin704 Lines.LoadFromFile(FileName, TEncoding.BigEndianUnicode);705 end;706 end;707 {$ENDIF}708 700 try 709 701 ImportFromStrings(Lines, Format, HumanReadableHeader);
Note:
See TracChangeset
for help on using the changeset viewer.