String tmp = request.getParameter("txtHoTen").trim();
String myString = new String( tmp.getBytes("iso-8859-1"), "UTF-8" ) );
// Biến myString sẽ hiển thị được Unicode
Subscribe to:
Post Comments (Atom)
The 0/1 Knapsack Problem - Dynamic Programming
References: https://www.youtube.com/watch?v=EH6h7WA7sDw Class Item class Item { private $_weight; private $_value; public functi...
-
References: https://www.youtube.com/watch?v=EH6h7WA7sDw Class Item class Item { private $_weight; private $_value; public functi...
-
Trước tiên tạo một class ColorTable.java import java.awt.Color; import javax.swing.JTable; import javax.swing.table.*; public class Col...
-
$my_array = array(2, "a", null, 2.5, NULL, 0, "", 8, -1,array()); class ArrayFilter { public static function not_emp...
No comments:
Post a Comment