X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-gui%2Fpo%2Fpo2msg.sh;h=1e9f992528153fa62c167db8f8e8c184e7df86bd;hb=8abc61880d34f7a85928d7ca95cb1165b2aca1df;hp=b7c4bf3fdffb3d04b8c01b25e99a706e499de0d1;hpb=6bc4c72132adbdc06c428f86a96f27e4f8173b99;p=git.git diff --git a/git-gui/po/po2msg.sh b/git-gui/po/po2msg.sh index b7c4bf3fd..1e9f99252 100644 --- a/git-gui/po/po2msg.sh +++ b/git-gui/po/po2msg.sh @@ -11,8 +11,8 @@ proc u2a {s} { foreach i [split $s ""] { scan $i %c c if {$c<128} { - # escape '[', '\' and ']' - if {$c == 0x5b || $c == 0x5d} { + # escape '[', '\', '$' and ']' + if {$c == 0x5b || $c == 0x5d || $c == 0x24} { append res "\\" } append res $i