Re: Re: get_html_translation_table()及瑹
Target |
News |
Subject |
A Trap with get_html_translation_table() |
Summary |
A Trap with get_html_translation_table()You may know unhtmlspecialchars() has implemented into PHP.With former versions of PHP, we had made such a custom function using get_html_translation_table() like this:
function my_unhtmlspecialchars( $text , $q... |
List posts in the topic
Re: Re: get_html_translation_table()及瑹
msg# 1.3
we had trouble with some russian languages using utf-8 with the textsanitizer. and we had to add the charset to the end of function htmlSpecialChars() in order to solve it. this could have been caused through various server configs though, because some of us couldn't replicate the issue ourselves.
Votes:10
Average:10.00
Posts tree