Added UTF-8 to mb_strtoupper() to force correct encoding