Menu

#19 If text is already in UTF-8

New
nobody
None
Medium
Defect
2012-12-06
2012-12-06
Anonymous
No

Originally created by: maximus.kr

What steps will reproduce the problem?
1. If text is already in UTF-8, Do not need utf8_encode() function.
2. htmlentities() vs htmlspecialchars()
   The problem occurs in utf-8 Text
   Why not just use htmlspecialchars?

   htmlentities($p->Docs, ENT_QUOTES | ENT_IGNORE, 'UTF-8');

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

http://www.youtu.kr/lab/soapDemo/youtuService.php
http://www.youtu.kr/lab/soapDemo/youtuService.php?WSDL&readable

4 Attachments

Discussion


Log in to post a comment.