Re: Re: get_html_translation_table()の罠
Target |
News |
Subject |
get_html_translation_table()の罠 |
Summary |
get_html_translation_table()の罠最近、unhtmlspecialchars() も実装されたようですが、get_html_translation_table() を利用して、htmlspecialchars() の逆関数を作っていた人も多いでしょう。
function my_unhtmlspecialchars( $text , $quotes = ENT_QUOTES )
{
r... |
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