[問題] 如何印出奇怪的字

看板java作者 (smile)時間17年前 (2008/04/20 15:03), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串1/2 (看更多)
比如說"!"倒過來的符號 "?"倒過來的符號 或者是"é" 在java都不能成功顯示出來 小弟用的OS: vista sp1 jre1.6.0_05 with eclipse 在run的時候 會跑出錯誤 Save could not be completed. Reason: Some characters cannot be mapped using "MS950" character encoding. Either change the encoding or remove the characters which are not supported by the "MS950" character encoding. 到preference設定Default encoding為utf-8 印出來都是問號 請問板上的大大有何解決的方法呢....? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.161.187.213

04/20 19:49, , 1F
除了 encoding 設為utf-8 檔案格式也要存成unicode
04/20 19:49, 1F

04/20 21:23, , 2F
eclipse裡面要如何存成unicode格式呢?
04/20 21:23, 2F

04/21 01:32, , 3F
問題解決後,也PO個文說明一下解決的步驟吧,謝囉!^^
04/21 01:32, 3F

04/21 04:19, , 4F
ok!
04/21 04:19, 4F
文章代碼(AID): #182kgwGg (java)
文章代碼(AID): #182kgwGg (java)