I am trying to get a value from an array. But it always returns non-sense. Is it because it's a Chinese string? How can I get the first value out of "$custom_field_value[ 'value' ]"? I tried so many ways and really can't figure it out... Thank you very much for your help!!
foreach ( $rating_result[ 'custom_field_values' ] as $custom_field_value ) {
var_dump($custom_field_value[ 'value' ]);
//return: string(15) "蠻認真的!"string(5) "okok!"
$value_text = stripslashes( $custom_field_value[ 'value' ][0] );
echo $value_text;
//return: �o
}