public static String trans_text2(String str) { String what_str = ""; try { what_str = new String(str.getBytes("ISO8859-1"), "UTF-8"); what_str = what_str.trim(); } catch (E...
1.sqlalchemy query data, sort according to the data in the field (Chinese) to Pinyin (ascending order) 2. It is known that there are func.convert and sql.func.CONVERT methods in sqlalchemy, and the import method is . from sqlalchemy import func from sq...