黑莓browserfield显示印地文文本?

时间:2011-08-25 07:26:52

标签: blackberry

如何在黑莓浏览器中显示印地文文字?

1 个答案:

答案 0 :(得分:0)

首先确保您通过BB Desktop Software在设备上安装了印地语支持。然后是代码:

        StringBuffer details = new StringBuffer();
        // download HTML to details [...]
        _browserField.displayContent(details.toString().getBytes("utf-8"),
                    "text/html; charset=utf-8", "http://localhost");