Bug #17792: DOMXML outputs  character before £ - encoding??
| From: | douglas_devine at yahoo dot com | Date: | Sun, 16 Jun 2002 22:02:19 +0000 |
| Subject: | Bug #17792: DOMXML outputs  character before £ - encoding?? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-10803@lists.php.net to get a copy of this message | ||
From: douglas_devine@yahoo.com
Operating system: Redhat 7.1
PHP version: 4.2.1
PHP Bug Type: DOM XML related
Bug description: DOMXML outputs  character before £ - encoding??
I have a web page with a form. I want the user to be able to use the £
symbol in a text field on the form. I then pass the value of the text
field(the £ symbol) to a DOMXML function which creates a XML string which
is transformed into XHTML using the XSLT functions.
I have a meta tag defining the encoding of the web page as UTF-8. (So the
£ symbol is being passed into the DOMXML function in this format? I echo
it out just before doing this and it displays correctly.)
the DOMXML functions use UTF-8 for input and output? When I echo the XML
output before passing it to the XSLT functions, I see that it has placed a
 symbol immediately before the £ symbol.
Seems like there might be an encoding problem?
Using Sablotron-0.90, Expat-1.95.3
--
Edit bug report at http://bugs.php.net/?id=17792&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17792&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17792&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17792&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17792&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17792&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17792&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17792&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17792&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17792&r=globals