String str1 = new String(niceAuthResp.getName().getBytes()
"utf-8");
String str2 = new String(niceAuthResp.getName().getBytes()
"euc-kr");
String str3 = new String(niceAuthResp.getUtf8_name().getBytes()
"utf-8");
String str4 = new String(niceAuthResp.getUtf8_name().getBytes()
"euc-kr");
String str5 = new String(niceAuthResp.getName());
String str6 = new String(niceAuthResp.getUtf8_name());
byte[] bArray01 = niceAuthResp.getName().getBytes("euc-kr");
byte[] bArray02 = niceAuthResp.getName().getBytes("utf-8");
byte[] bArray03 = niceAuthResp.getUtf8_name().getBytes("euc-kr");
byte[] bArray04 = niceAuthResp.getUtf8_name().getBytes("utf-8");
String str7 = new String(bArray01
"utf-8");
String str8 = new String(bArray01
"euc-kr");
String str9 = new String(bArray02
"utf-8");
String str10 = new String(bArray02
"euc-kr");
String str11 = new String(bArray03
"utf-8");
String str12 = new String(bArray03
"euc-kr");
String str13 = new String(bArray04
"utf-8");
String str14 = new String(bArray04
"euc-kr");
System.out.println("str1 : "+str1+" / str2 : "+str2);
System.out.println("str3 : "+str3+" / str4 : "+str4);
System.out.println("str5 : "+str5+" / str6 : "+str6);
System.out.println("str7 : "+str7+" / str8 : "+str8);
System.out.println("str9 : "+str9+" / str10 : "+str10);
System.out.println("str11 : "+str11+" / str12 : "+str12);
System.out.println("str13 : "+str13+" / str14 : "+str14);
String str20 = new String(niceAuthResp.getName().getBytes("utf-8")
"euc-kr");
String str21 = new String(niceAuthResp.getName().getBytes("utf-8")
"ksc5601");
String str22 = new String(niceAuthResp.getName().getBytes("utf-8")
"x-windows-949");
String str23 = new String(niceAuthResp.getName().getBytes("utf-8")
"iso-8859-1");
String str24 = new String(niceAuthResp.getName().getBytes("iso-8859-1")
"euc-kr");
String str25 = new String(niceAuthResp.getName().getBytes("iso-8859-1")
"ksc5601");
String str26 = new String(niceAuthResp.getName().getBytes("iso-8859-1")
"x-windows-949");
String str27 = new String(niceAuthResp.getName().getBytes("iso-8859-1")
"utf-8");
String str28 = new String(niceAuthResp.getName().getBytes("euc-kr")
"utf-8");
String str29 = new String(niceAuthResp.getName().getBytes("euc-kr")
"ksc5601");
String str31 = new String(niceAuthResp.getName().getBytes("euc-kr")
"x-windows-949");
String str32 = new String(niceAuthResp.getName().getBytes("euc-kr")
"iso-8859-1");
String str33 = new String(niceAuthResp.getName().getBytes("ksc5601")
"euc-kr");
String str34 = new String(niceAuthResp.getName().getBytes("ksc5601")
"utf-8");
String str35 = new String(niceAuthResp.getName().getBytes("ksc5601")
"x-windows-949");
String str36 = new String(niceAuthResp.getName().getBytes("ksc5601")
"iso-8859-1");
String str37 = new String(niceAuthResp.getName().getBytes("x-windows-949")
"euc-kr");
String str38 = new String(niceAuthResp.getName().getBytes("x-windows-949")
"utf-8");
String str39 = new String(niceAuthResp.getName().getBytes("x-windows-949")
"ksc5601");
String str40 = new String(niceAuthResp.getName().getBytes("x-windows-949")
"iso-8859-1");
System.out.println("str20 : "+str20);
System.out.println("str21 : "+str21);
System.out.println("str22 : "+str22);
System.out.println("str23 : "+str23);
System.out.println("str24 : "+str24);
System.out.println("str25 : "+str25);
System.out.println("str26 : "+str26);
System.out.println("str27 : "+str27);
System.out.println("str28 : "+str28);
System.out.println("str29 : "+str29);
System.out.println("str31 : "+str31);
System.out.println("str32 : "+str32);
System.out.println("str33 : "+str33);
System.out.println("str34 : "+str34);
System.out.println("str35 : "+str35);
System.out.println("str36 : "+str36);
System.out.println("str37 : "+str37);
System.out.println("str38 : "+str38);
System.out.println("str39 : "+str39);
System.out.println("str40 : "+str40);
'┝ 개발 언어 > ┎ JAVA' 카테고리의 다른 글
[java] multipart 파일 받을 때 주의할 점 (0) | 2023.11.14 |
---|---|
empty String과 null을 Integer value of할 경우 (0) | 2023.11.08 |
생성자 (0) | 2023.05.17 |
java7, java8에서 split("") method (0) | 2022.07.12 |
[file] 엑셀 파일 업로드 / 다운로드 (0) | 2022.06.21 |