Eclipse編輯xml文件打開(kāi)后亂碼怎么辦?
應(yīng)該是編碼問(wèn)題。Eclipse默認(rèn)的編碼為GBK,你的項(xiàng)目的編碼可能是UTF-8選中項(xiàng)目,右鍵——Properties,打開(kāi)窗口,在Other中選擇UTF-8即可
Eclipse編輯xml文件打開(kāi)后亂碼怎么辦?
應(yīng)該是編碼問(wèn)題。Eclipse默認(rèn)的編碼為GBK,你的項(xiàng)目的編碼可能是UTF-8選中項(xiàng)目,右鍵——Properties,打開(kāi)窗口,在Other中選擇UTF-8即可