开发者

Blackberry BrowserField character encoding problem

How can i solve character encoding problem in BrowserField? 开发者_如何学PythonSome of UTF-8 characters (like 'ş', 'ç'...) appear as '?' character.


The following is a very good Solution

Browserfield browserField = new BrowserField();
browserField.requestContent(PATH);
browserField.displayContent(byte,"text/html; charset=utf-8", "http://localhost");


I think this might solve your problem

browserField.requestContent(localFilePath);
browserField.displayContent(responseData,"text/html; charset=utf-8", "http://localhost");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜