I am taking an introductory course on python and the instructor says that python is a high level language and C and C++ are low level languages. It's just damn confusing. I thought that C, C++, Python, Java, etc were all high level languages. I was reading questions at stackoverflow on C, C++, etc and they all seem to refer to those languages as high level. it seems to me that some programmers use those terms interchangably. Please clarify this for me.


Question: MySQL does not work fine with UTF-8
Answer: This will probably do the trick. You need to perform a small query directly before you do INSERT or UPDATE. In my db-class it looks like this, which is to be adapted to your needs. $charset needs to be "utf8"

$db-&gt;query('SET CHARACTER SET "' . $charset . '";');
$result = $db-&gt;query($query);


I call the function like this

$result = $ddlab-&gt;db-&gt;db($sql,'utf8');


Good luck !