Java Properties file `+` is removed
mohammadprabowo opened this issue · 5 comments
mohammadprabowo commented
Hi. Inside .properties
file, we have config like this:
defaultphonenumber=+62
When committed, and git2consul notified about the change, the consul k/v
now has this value instead:
defaultphonenumber=62
Is this intended?
mohammadprabowo commented
If I quote it, like "+62"
then it will rendered as "+62"
too, which is not what I want...
mohammadprabowo commented
Escape with \+62
doesn't work also
mohammadprabowo commented
Here's list of the things that I've been trying:
+62 -> 62
"+62" -> "+62"
\+62 -> 62
\\+62 -> \+62
"+" + "62" -> "+" + "62"
\u002B62 -> 62
\\u002B62 -> \u002B62
mohammadprabowo commented
mohammadprabowo commented
Moved