作者tnsshnews (tnsshnews)
看板java
标题[问题]处理包含全形的标点符号转了utf8编码还是显是乱码
时间Sun Feb 6 09:06:36 2011
example: “However, whether they will lead to infection and disease depends on many
other factors, such as virus survival and host immune responses -
which other teams are studying.”
java encoding code: String utf8String = new String(sentence.getBytes("big5"), "UTF-8");
system.out.println: ??However, whether they will lead to infection and disease depends on
many other factors, such as virus survival and host immune responses - which other
teams are studying.??
could anyone help me out?
many thanks
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.109.16.214