see IFDEF/IFNDEF PEPAK:

- UNDEF USEGRAPHICS
- compatibility with Delphi 5
- proper encoding detection (UTF-8 should be used if no encoding is specified)
