Hi

I am writing a CGI application that uses WIN32::OLE to interface to 
Microsoft ADO, MS Access, SQL Server and MSXML for XML documents and 
XSLT transformations.

I suspect that something in the way I am passing data around (or in the 
ADO implementation of 'savetoxml') is not dealing correctly with XML 
document encoding declarations.
The data is originally in an MS Access database - but has been entered 
using copy and paste from MS Word documents from around the world - so 
contains many weird and wonderful bytes.

To help in my debugging process can anyone tell me how WIN32::OLE deals 
with 'strings' returned from method calls?
i.e. - are they pure byte data as output by the method (and maybe in 
UTF-16)?
- or are they converted to Perl's internal format (using any current 
Perl encoding settings)?
- or does something else happen?

The problems I am having are primarily when outputting XML documents (or 
HTML) to send to the browser.
e.g.
my $OUTPUT="";
$OUTPUT=$xmldoc->transformNode($xsltsheet);

print $OUTPUT;


Any help - or comments on using ADO's savetoxml - greatly appreciated.


Thanks


Mike


Message Scanned by ClamAV on datalucid.com


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to