Alireza-DarkMan / php-wsdl-creator

Automatically exported from code.google.com/p/php-wsdl-creator
GNU General Public License v3.0
0 stars 0 forks source link

If text is already in UTF-8 #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

Original issue reported on code.google.com by maximus.kr on 7 Dec 2012 at 6:50

Attachments: