php - String is not saved correctly in database -
i trying save string in database ,
Период д

the string want save : Период действия s...
the table encoding is: cp1251_general_ci
i don't know in encoding string - getting excel document.
i tried this, didn' help.
$nomer = iconv('utf-8','windows-1251', $str ); is there solution this?
you haven't mentioned database engine you're using, try changing table encoding utf8_general_ci or utf8_unicode_ci.
Comments
Post a Comment