开发者

How is character star handled in a resource bundle

If we use "*" as part of the resource bundle, the character gets removed during the 开发者_如何学JAVAmessage formatting process (java.util.ResourceBundle). How are we supposed to escape this character?


Try using \* or the Unicode escapes form - \u002A

EDIT: Seems that to display \* in answer here you need to type \\*.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜