diff --git a/application/third_party/trainsystem/helpers/train_helper.php b/application/third_party/trainsystem/helpers/train_helper.php index 86a42662..de0d7b52 100644 --- a/application/third_party/trainsystem/helpers/train_helper.php +++ b/application/third_party/trainsystem/helpers/train_helper.php @@ -35,8 +35,8 @@ function strexchangeid($name){ //特殊字符转换 function chk_sp_name($name){ $name = str_replace( - array('á','ë','é','è','í','ó','ú','á','é','í','ó','ú',' ','/',' ',','), - array('a','e','e','e','i','o','u','A','E','I','O','U','','','',''), + array('á','ë','é','è','í','ó','ú','ű','ñ','á','é','í','ó','ú','ű','ñ','/',' '), + array('a','e','e','e','i','o','u','u','n','A','E','I','O','U','U','N','',''), $name ); return substr(strtoupper($name),0,30);