[問題]處理包含全形的標點符號轉了utf8編碼還是顯是亂碼

看板java作者 (tnsshnews)時間15年前 (2011/02/06 09:06), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
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

02/06 21:26, , 1F
請參考#19ErVyFI,#19Esxx-l 你犯了和這文作者同樣的錯
02/06 21:26, 1F
文章代碼(AID): #1DJVGUKr (java)