Drupal sends an PDOException with an ugly error page if an user writes an non-ASCII URL:

Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1545 of C:\inetpub\wwwroot\drupal\includes\bootstrap.inc).
PDOException: in dblog_watchdog() (line 154 of C:\inetpub\wwwroot\drupal\modules\dblog\dblog.module).
The website encountered an unexpected error. Please try again later.

You can test that in this url:
http://www.milenio3.pt/ççç

I'm using IIS7 (windows server) and I'm using the Transliteration module so my url are all ASCII.

Please help.

nobody click here