#21616 [Fbk->Opn]: encoding error in attributes with result_dump_*
| From: | anton at jclub dot ru | Date: | Wed, 15 Jan 2003 11:06:17 +0000 |
| Subject: | #21616 [Fbk->Opn]: encoding error in attributes with result_dump_* | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30092@lists.php.net to get a copy of this message | ||
ID: 21616
User updated by: anton@jclub.ru
Reported By: anton@jclub.ru
-Status: Feedback
+Status: Open
Bug Type: DOM XML related
Operating System: linux
PHP Version: 4.3.0
New Comment:
xslt:
<xsl:output method="html" encoding="windows-1251"
omit-xml-declaration="yes"/>
..
<a href="ïðèâåò">ïðèâåò</a>
..
//contents inside <a> tag and href attribute in win-1251 encoding
output with result_dump_mem():
<a href="%D0%BF%D1%80%D0%B8%D0%B2%D0%B5%D1%82">ïðèâåò</a>
mustbe:
<a href="%EF%F0%E8%E2%E5%F2">ïðèâåò</a>
it seems that contents inside href encodes as unicode, not as win-1251
or something like that.
Previous Comments:
------------------------------------------------------------------------
[2003-01-15 02:17:31] chregu@php.net
Please provide the shortest possible example for reproducing your
error.
thanks
chregu
------------------------------------------------------------------------
[2003-01-13 07:59:20] anton@jclub.ru
encoding error in attributes with result_dump_* when <xsl:output
method="html" encoding="windows-1251"/>
characters in win-1251 encoding presented in href, src, .. html
attributes encode into %HEX sequence incorrectly
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21616&edit=1