Changeset 247 for ExceptionLogger


Ignore:
Timestamp:
May 24, 2011, 12:36:12 PM (14 years ago)
Author:
george
Message:
  • Fixed: Various minor bugs and enhancements.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ExceptionLogger/UExceptionLogger.pas

    r167 r247  
    9797  Buffer := Report.Text;
    9898  if FileExists(FLogFileName) then
    99     LogFile := TFileStream.Create(FLogFileName, fmOpenReadWrite)
    100     else LogFile := TFileStream.Create(FLogFileName, fmCreate);
     99    LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmOpenReadWrite)
     100    else LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmCreate);
    101101  with LogFile do try
    102102    Seek(0, soFromEnd);
     
    115115begin
    116116  if FileExists(FLogFileName) then
    117     LogFile := TFileStream.Create(FLogFileName, fmOpenReadWrite)
    118     else LogFile := TFileStream.Create(FLogFileName, fmCreate);
     117    LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmOpenReadWrite)
     118    else LogFile := TFileStream.Create(UTF8Decode(FLogFileName), fmCreate);
    119119  with LogFile do try
    120120    Seek(0, soFromEnd);
Note: See TracChangeset for help on using the changeset viewer.