作者missbus (smile)
站內java
標題[問題] 如何印出奇怪的字
時間Sun Apr 20 15:03:21 2008
比如說"!"倒過來的符號
"?"倒過來的符號
或者是"é"
在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
推 GERRYccc:除了 encoding 設為utf-8 檔案格式也要存成unicode 04/20 19:49
→ missbus:eclipse裡面要如何存成unicode格式呢? 04/20 21:23
推 GERRYccc:問題解決後,也PO個文說明一下解決的步驟吧,謝囉!^^ 04/21 01:32
→ missbus:ok! 04/21 04:19