📄 encoding.java
字号:
package com.wl.tool;
public class Encoding {
public Encoding() {
}
public static String trans(String s) {
String res = null;
byte temp[];
try {
temp = s.getBytes("iso-8859-1");
res = new String(temp);
}
catch(Exception e) {
System.out.println(e.toString());
}
return res;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -