Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Error "Malformed UTF-8 char -- is an XML"
mwilkerson

From: Arlington, VA USA
Posts: 3
Member Since: 05/09/05
posted August 26, 2005 9:09 AM

Hello,

I'm passing XML text that contains an accented e "é" and I get a Malformed UTF-8 char error on the server. The character shows up on the server side as "Θ".

I tried setting the Header to Content-Type: text/html, Content-Type: text/xml with the charset="iso-8859-1” , charset="UTF-16”. None of this seemed to help. The only thing that works is to add a processing instruction to the front of the XML <?xml version="1.0" encoding="iso8859-1"?>

I thought the control defaulted to UTF-16 so I thought this would simply work. Other wise wouldn’t the header info control this?

Does the RequestHeader have any effect on XML data?

DartWeb.dll
Description: PowerTCP© HTTP Control
File Version: 1.8.0.4

Data sent to server:
<request command="queryBuilder" action="GetCountBySegment" version="1.0">
<question name="Home décor: $1-$49" id="302182"/>
</request>

Data received by the server:
<request command="queryBuilder" action="GetCountBySegment" version="1.0">
<question name="Home dΘcor: $1-$49" id="302182"/>
</request>

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 26, 2005 2:31 PM

Have you ever done this using IE or another browser? If so, what does the request look like?
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX