Cannot find the reason why I am unable to store in a MySQL database characters like ţ, î, ş.
My table definition is:
CREATE TABLE IF NOT EXISTS `gen_
If this:
$text = 'ţ, î, ş';
is your literal code, you need to make sure that the PHP source file is encoded as UTF-8 as well. Otherwise, these characters will be ISO-8859-1 characters in a Unicode context, resulting in broken characters.