/**
* 字符串英文单双引号处理,将中英文引号转为中文的引号
* @param temp
* @return
*/
public static String getStringDatabase(String temp){

if ( temp == null || "".equals( temp )){
return "";
}
temp = temp.replace( "'" , "’" );
temp = temp.replace("\"", "”");

return temp;
}

posted on 2017-01-06 14:50  悲伤穿透眼眸  阅读(130)  评论(0编辑  收藏  举报