Strgbk

xiaoxiao2021-03-06  97

Package zpxx; import java.io. *;

Public class strgbk {public string isotogbk (string strmc) {if (strMc == null || strmc.length () == 0) return ""; try {strmc = new string (Strmc.getbytes ("ISO-8859-1 ")," GBK ");} catch (unsupportedencodingexception useX) {} returnction strmc;}}

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

New Post(0)