String filename = "c:/book.xls";
WorkbookSettings ws = new WorkbookSettings();
ws.setLocale(new Locale("tr", "TR"));
try {
Workbook w = Workbook.getWorkbook(new File(filename),ws);
//......................
}
我想讀取土耳其語的Xls文件。我將locale設置爲土耳其語。但是,它仍然不顯示土耳其字符。你能幫我嗎?Java土耳其字符
你知道關於文件的用途嗎? – Adam 2013-02-14 18:37:02
我該如何學習? – 2013-02-14 18:48:03
使用UTF-8編碼文件:http://www.surveygizmo.com/survey-software-support/tutorials/getting-started/how-to-encode-an-excel-file-to-utf-8-or -utf-16/ – Adam 2013-02-14 18:50:00