【问题标题】:The new rupee symbol's unicode doesn't show up on the android emulator新卢比符号的 unicode 未显示在 android 模拟器上
【发布时间】:2012-03-04 14:50:18
【问题描述】:

带有 unicode "\u20B9" 的新印度卢比符号不会显示在 android 模拟器上,但它会完美地打印在日志文件上。可能是什么原因?谢谢。

【问题讨论】:

    标签: android unicode android-emulator


    【解决方案1】:

    Android 的系统字体可能没有我们的印度货币符号。您应该使用嵌入在您的应用程序中的自己的字体来实现这一点。并且还需要支持旧版本的 Android 设备。

    您可以从here或here下载字体

    并按照本教程了解字体嵌入:http://www.barebonescoder.com/2010/05/android-development-using-custom-fonts/

    【讨论】:

    • 链接好像坏了
    • @RishiDua 感谢您的指出。更新了答案中的链接
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-05-22
    • 1970-01-01
    • 1970-01-01
    • 2015-07-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多