Đã hoàn thành

159947 PHP str_replace utf8 space

I have attached a file which basically echo's a string. The problem is that this string contains a UTF8 space character (actually multiple) which I want to remove from the string.

It is not just a str_replace(" ","",$string);

Its some UTF8 space char which I need to get rid of.

I cannot use a preg_replace('/[^a-zA-Z0-9... because some strings will contain latin characters and preg_replace doesnt really work well with them.

I would like to see a working demo before accepting your bid and I will release the funds after I can verify that you found the solution. Sorry if this sounds rude, but I had 10 people trying this and most of them just replaced the UTF8 spaces with normal spaces and used the example function above claiming "that's it".

Make sure to download the [url removed, login to view] file to test your solution with it.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: the string problem, string problem, php verify, work space, the space, str, space, rude, latin characters, php file remove, php string contain, php remove file, character problem, php file multiple, php string remove, function remove spaces, php remove string, echo file php, php echo file, php file download, utf8, php problem characters, php char, space php, verify latin

Về Bên Thuê:
( 37 nhận xét ) Amsterdam, Netherlands

ID dự án: #1906136

Được trao cho:


Can do it. Even already done it. Have a working example. Can be contacted on ICQ, MSN, YAHOO iM, or IRC.

$15 USD trong 0 ngày
(6 Đánh Giá)