Forum Discussion
Stanislas_Piro2
Aug 23, 2017Cumulonimbus
Hi,
weird behavior tested in both 11.5.4 and 13.0 versions... you can try string map:
when RULE_INIT {
set test "(this is a test)"
set test2 [URI::encode $test]
set test3 [string map {"(" "%28" ")" "%29"} $test2]
log local0. "$test $test2 $test3"
}