Enter the Chinese web page, the browser and database of non-reality garbled question mark

Solution:

Obtaining input data and then, after converting them reassigned

 String recordname = new String((request.getParameter("recordname")).getBytes("iso-8859-1"),"utf-8");

Guess you like

Origin www.cnblogs.com/javastudydoing/p/11881410.html