PEAK XOOPS - Re: Re: get_html_translation_table()の罠 in englishin japanese

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

none Re: Re: get_html_translation_table()の罠

msg# 1.4
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2008/7/4 2:47
vaughan  上等兵   Posts: 37
me neither. initially we thought it was html purifier causing the problem, but after looking at the function, html purifier was not used at all, so it had to be with that function. the only difference i could see was on php.net they mentioned to set the charset if you use utf-8 encoding. was worth a try anyway and solved the problem in our case.
Votes:10 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!