wyymichael / paoding

Automatically exported from code.google.com/p/paoding
0 stars 0 forks source link

PaodingMaker.getFileLastModified(File file) 的 Bug #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
雖然有這一行做 URL 解碼
path = path.replaceAll("%20", " ").replaceAll("\\\\", "/");

但是對於其他中文路徑仍然會有錯誤, 建議改為
path = path.replaceAll("\\\\", "/");
path = URLDecoder.decode(path,"UTF-8");

若您滿意就麻煩您了

Original issue reported on code.google.com by virus.wa...@gmail.com on 6 May 2008 at 7:07