J2ME LWUIT - 绘图电子邮件地址错误

发布于 2024-12-20 22:26:21 字数 402 浏览 3 评论 0原文

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

我有一个包含有效电子邮件地址的字符串(例如 [email protected] ),当我使用 LWUIT 的 drawString 时,它会绘制电子邮件地址,而无需@ (markmail.com)

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

有什么想法吗?是否需要添加一些特殊字符来绘制@

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

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

I try to draw the chain "@@@@" and shows ""

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨轻弹 2024-12-27 22:26:21

解决了!

问题是资源文件的字符集。

我将 @ 添加到字符集中,现在它可以工作了,

无论如何,谢谢

Solved!

The problem was the charset of the resource file.

I added the @ to the charset and now it works

Thanks anyway

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文