I am using php 7.0. To make the site fully utf-8 compatible, there are many steps we have to take as explained here.
I have doubt about mbstring encoding. The following is the ideal mbstring settings, as I understand, to be placed at beginning of the php script. (source)
//setup php for working with Unicode data
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_language('uni');
mb_regex_encoding('UTF-8');
ob_start('mb_output_handler');
I have gone through each of the settings. So my understanding is that just use default_charset="UTF-8"
and no need to use explicit mbstring settings I explained above because mbstring settings take value from default_charset (source).
Please tell whether I am right in this.