https://jumnuoy.blogspot.com/2013/09/how-to-remove-khmer-unicode-by-php.html
<?php
$value = "ខ្មែរសាកល្បង Test";
preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $value);
/*output
Test
code Khmer Unicode PHP<?php
$value = "ខ្មែរសាកល្បង Test";
preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $value);
/*output
Test
0 comments:
Post a Comment