note 110197 deleted from class.exception by salathe

From: Date: Tue, 02 Aug 2016 12:00:05 +0000
Subject: note 110197 deleted from class.exception by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-206158@lists.php.net to get a copy of this message
Note Submitter: altieresdelsent at gmail dot com ---- when you are using xdebug, exceptions message will never be shown if you use any encoding different than UTF-8, so if you are using any database with translated messages like oracle, you should ALWAYS, always, throw a exception like this throw new Exception(utf8_encode($message),$code), character like ã,é,ç, will make the exception message fail to be shown, if you are not using xdebug ( I do think you should at least try), this code will not affect your page.

« previous php.notes (#206158) next »