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?

Was it helpful?

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
scroll top