Call set_my_charset() before actually using , and fix variable name in case != iso...