问题
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 (mark@mail.com 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?
回答1:
Solved!
The problem was the charset of the resource file.
I added the @ to the charset and now it works
Thanks anyway
来源:https://stackoverflow.com/questions/8475341/j2me-lwuit-drawing-email-address-error