我需要將params編碼爲我打算髮布到站點的ISOLatin。我正在使用org.apache.http。庫。我的代碼如下所示: HttpClient client = new DefaultHttpClient();
HttpPost post = new HttpPost("www.foobar.bar");
post.setHeader("Content-Type", "applicat
我必須獲取波斯頁面的內容並向某些用戶顯示該頁面的一部分。問題出在我篩選頁面內容後,我無法用正確的編碼顯示內容。該網頁位於sena.ir,這裏是原網頁部分的屏幕快照我想說明: alt text http://img502.imageshack.us/img502/983/original.gif 這裏是我得到: alt text http://www.freeimagehosting.net/upl