How is character star handled in a resource bundle
-
26-09-2019 - |
Question
If we use "*"
as part of the resource bundle, the character gets removed during the message formatting process (java.util.ResourceBundle). How are we supposed to escape this character?
Solution
Try using \* or the Unicode escapes form - \u002A
EDIT: Seems that to display \* in answer here you need to type \\*.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow