<?php $str = 'Привет 2019 Мир!'; $str = mb_convert_encoding( $str, 'windows-1251', mb_detect_encoding( $str ) ); var_dump( $str );
You have javascript disabled. You will not be able to edit any code.