J2ME LWUIT-绘图电子邮件地址错误 [英] J2ME LWUIT - Drawing email address error

查看:87
本文介绍了J2ME LWUIT-绘图电子邮件地址错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发我的J2ME应用程序,试图修复一些错误.当我想显示一个电子邮件地址时,就会发生这种情况之一.

I'm working on my J2ME application trying to fix some bugs. One of this happens when I want to show a email address.

我有一个带有有效电子邮件地址的字符串(例如,mark @ mail.com),当我使用LWUIT的drawString时,它将绘制不带@(markmail.com)的电子邮件地址

I have a string with a valid email address (mark@mail.com as example) and when I use drawString of LWUIT it draws the email address without the @ (markmail.com)

我尝试绘制链"@@@@"并显示""

有什么主意吗?是否有必要添加一些特殊字符来绘制@?

Any idea?. Is it necessary to add some special character to draw @'s?

推荐答案

已解决!

问题出在资源文件的字符集.

The problem was the charset of the resource file.

我将@添加到字符集,现在可以使用

I added the @ to the charset and now it works

仍然感谢

这篇关于J2ME LWUIT-绘图电子邮件地址错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆