JSP Chinese display problem

zhaozj2021-02-16  46

10:30 2003-11-29 Inbergong finishing <% @ page contenttype = "text / html; charset = ISO8859_1"%>

And text-related things: /// Character processing in Chinese display

<% @ Page ContentType = "TEXT / HTML; Charset = GB2312"%> The Chinese data removed from the data sheet must add a previous statement to the direct display without re-conversion. <% string tmpname, tmpass; tmpname = request .GetParameter ("Usename"); tmpname = new string (TmpName.GetBytes ("ISO-8859-1"), "GBK"); // This method is displayed in Chinese display in the page.%> Gerparameter: < BR> Usename: <% = tmpname%> /// Character processing in Chinese display

转载请注明原文地址:https://www.9cbs.com/read-21548.html

New Post(0)