title: Change + character to - in Html::encode decode function of YII2
body: <p>I want to change the + character to - in Html encode decode functions of YII2.
  How should i change that? Does any one know?</p>
  
  <p>I try to do this changes in BaseHtml helper class of yii2 but not working.</p>
  
  <pre><code>public static function encode($content, $doubleEncode = true)
  {
      return str_replace("+","-",htmlspecialchars($content, ENT_QUOTES | ENT_SUBSTITUTE, Yii::$app ? Yii::$app-&gt;charset : 'UTF-8', $doubleEncode));
  }
  
  public static function decode($content)
  {
  
      return htmlspecialchars_decode(str_replace("-","+",$content), ENT_QUOTES);
  }
  </code></pre>