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;}}