Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
knightliao committed May 26, 2016
1 parent e016eb3 commit a57e9ff
Showing 1 changed file with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ public class CodeUtils {

/**
* utf-8 转换成 unicode
*
* @param inStr
*
* @return
*
* @author fanhui
* 2007-3-15
*/
public static String utf8ToUnicode(String inStr) {

Expand All @@ -45,17 +38,11 @@ public static String utf8ToUnicode(String inStr) {

/**
* unicode 转换成 utf-8
*
* @param theString
*
* @return
*
* @author fanhui
* 2007-3-15
*/
public static String unicodeToUtf8(String theString) {
if (theString == null)
if (theString == null) {
return null;
}
char aChar;
int len = theString.length();
StringBuffer outBuffer = new StringBuffer(len);
Expand Down

0 comments on commit a57e9ff

Please sign in to comment.