lib: fixed endless loop in IConverter if exceptions are off
commit31720e0c77f46908e5826b6d414056a73d4c0d93
authorChris Frey <cdfrey@foursquare.net>
Fri, 25 Feb 2011 05:12:18 +0000 (25 00:12 -0500)
committerChris Frey <cdfrey@foursquare.net>
Fri, 25 Feb 2011 23:03:58 +0000 (25 18:03 -0500)
treee4c137c091a3494c3c70fd7399acb4517e31eae1
parentb7f2910d5005abffd860fd36a3b6b1fe9ad4715e
lib: fixed endless loop in IConverter if exceptions are off

If exceptions are off, and there is a string conversion error,
there's an endless loop in the Convert() function.  Fixed by returning
the unconverted string, and printing a message to stderr.
src/iconv.cc