That is the mysql version and not the mysqli version of the charset code. If you did restore the last line it would have looked like:
$conn121_i->set_charset('utf-8');
So yes, that line is essentially ignored... and 'utf8' is the correct syntax.
Like I said earlier, that should match the charset specified in your mysql database itself and you probably aren't using utf8 there.