tracker issue : CF-3038288

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 76771:(Watson Migration Closure)Using xmlParse() does not honor XML encoding declaration and changes encoding type of xml to utf-8

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Dave Ferguson / Dave Ferguson (dave_jf)

Created: 04/22/2009

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 2

Problem:

Using xmlParse() does not honor XML encoding declaration and changes encoding type of xml to utf-8.  This breaks xml that contains unicode character sets or anything else that may be expecting a an encoding type other than utf-8.


Method:

These 2 blog entries illustrate the issue:

http://blog.dkferguson.com/index.cfm/2009/4/21/Inserting-XML-w-unicode-data


http://www.web-relevant.com/blogs/cfobjective/index.cfm?mode=entry&entry=05CA3562-BDB9-5320-E197F12577FB92ED
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3038288

External Customer Info:
External Company:  
External Customer Name: Dave Ferguson
External Customer Email: 333762A94460DE1A992015D5
External Test Config: 04/22/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23783 | November 10, 2011 07:19:19 PM GMT
please fix these. fetching xml with reomote request (cfhttp) doesnt pasrse encoding correctly. is uses the system fjava file encoidng instead. if you fetch utf-8 encoded xml, it parse with cp1252 on windows systems.....
Vote by External U.
23784 | November 10, 2011 07:19:20 PM GMT