搜索 ‭ 得到此解读:https://en.wikipedia.org/wiki/Right-to-left_mark
后面在这里找到了用PHP怎么替换
https://github.com/Pasvaz/laravel-skeleton/blob/master/application/libraries/localizeddate.php
整理一下,方便使用
function stripLRMRLM($inputText) { // UTF8 control codes affecting the BiDirectional algorithm (see http://www.unicode.org/reports/tr9/) $CH_UTF8_LRM = "\xE2\x80\x8E"; // U+200E (Left to Right mark: zero-width character with LTR directionality) $CH_UTF8_RLM = "\xE2\x80\x8F"; // U+200F (Right to Left mark: zero-width character with RTL directionality) $CH_UTF8_LRO = "\xE2\x80\xAD"; // U+202D (Left to Right override: force everything following to LTR mode) $CH_UTF8_RLO = "\xE2\x80\xAE"; // U+202E (Right to Left override: force everything following to RTL mode) $CH_UTF8_LRE = "\xE2\x80\xAA"; // U+202A (Left to Right embedding: treat everything following as LTR text) $CH_UTF8_RLE = "\xE2\x80\xAB"; // U+202B (Right to Left embedding: treat everything following as RTL text) $CH_UTF8_PDF = "\xE2\x80\xAC"; // U+202C (Pop directional formatting: restore state prior to last LRO, RLO, LRE, RLE) $notvalid=array($CH_UTF8_LRM, $CH_UTF8_RLM, $CH_UTF8_LRO, $CH_UTF8_RLO, $CH_UTF8_LRE, $CH_UTF8_RLE, $CH_UTF8_PDF, "‎", "‏", "‎", "‏"); return str_replace($notvalid, "", $inputText); }