|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-03 09:47 UTC] rici at aporisk dot hu
Possible bug in xslt_process() If in the source xml code are characters with ascii code greater than 127, for example some national characters (?, ?, ...), they will not be displayed correctly in the result after the transformation. Instead the character I get two strange characters. For a specified source character (>127) I always get specified characters. Of course, in the xml tag I use the correct encoding attribute, for example ISO-8859-2. Thanks. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 08:00:01 2025 UTC |
This looks like an encoding problem. Use <xsl:output method="html" encoding="utf-8"/> or header("Content-type: text/html; charset=utf-8"); to give the right encoding to your browser. This works for me. Processing output direct with sabcmd from your xml and xsl documents show the same as described from you. So I think, that's a sablotron problem and not a PHP bug. Feel free to reopen, if my tip doesn't work for you. Regards, Kai