php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16721 Accentuation Support
Submitted: 2002-04-21 11:49 UTC Modified: 2002-05-16 10:41 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: brunorothgiesser at yahoo dot com dot br Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.1.2 OS: SUSE Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brunorothgiesser at yahoo dot com dot br
New email:
PHP Version: OS:

 

 [2002-04-21 11:49 UTC] brunorothgiesser at yahoo dot com dot br
Accentuation support is not (correctly) implemented in DOM XML functions.

I have used encoding=?ISO-8891-1? in my XML docs with text in Portuguese.

Document was parsed with xmldoc(), but accents appeared as strange characters.

Removing the encoding=?ISO-8891-1? part, xmldoc() returns NULL.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-21 11:56 UTC] brunorothgiesser at yahoo dot com dot br
Correcting my bug?s description, the encoding that I used was ISO-8859-1

This is the recommended encoding for documents in Portuguese.

Any other encoding makes xmldoc() return NULL when there are accents in the doc. With 'ISO-8859-1' document is parsed but accents become strange characters.
 [2002-05-16 10:41 UTC] chregu@php.net
The funny characters are most certainly utf8 accented characters. you can convert them back to iso-8859-1 with utf8_decode()


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC