开发者

How is character star handled in a resource bundle

开发者 https://www.devze.com 2023-01-26 01:51 出处:网络
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 charact

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

精彩评论

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