Changeset 6195

Show
Ignore:
Timestamp:
05/18/08 09:58:24 (5 months ago)
Author:
eugene
Message:

Don't treat encoding failures as errors but just issue a warning.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/translate.cpp

    r6119 r6195  
    462462  { 
    463463    ok = false; 
    464     gLog.Error("Unsupported encoding conversion from %s to %s.\n", 
     464    gLog.Warn("Unsupported encoding conversion from %s to %s.\n", 
    465465        from[0] == '\0' ? "[LOCALE]" : from, 
    466466        to[0] == '\0' ? "[LOCALE]" : to); 
     
    477477    { 
    478478      ok = false; 
    479       gLog.Error("Error encoding from %s to %s.\n", 
    480           from[0] == '\0' ? "LOCALE" : from, 
    481           to[0] == '\0' ? "LOCALE" : to); 
     479      gLog.Warn("Unable to encode from %s to %s.\n", 
     480          from[0] == '\0' ? "[LOCALE]" : from, 
     481          to[0] == '\0' ? "[LOCALE]" : to); 
    482482    } 
    483483  }