projects
/
Business-OnlinePayment-InternetSecure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
33cf2e3
)
Let's not encode high-bit ISO-8859-1 characters
author
fbriere
<fbriere>
Sat, 18 Feb 2006 06:01:35 +0000
(06:01 +0000)
committer
fbriere
<fbriere>
Sat, 18 Feb 2006 06:01:35 +0000
(06:01 +0000)
InternetSecure.pm
patch
|
blob
|
history
diff --git
a/InternetSecure.pm
b/InternetSecure.pm
index
cb6d00e
..
b9ca589
100755
(executable)
--- a/
InternetSecure.pm
+++ b/
InternetSecure.pm
@@
-210,13
+210,15
@@
sub to_xml {
);
}
);
}
- xml_out(\%data,
+ # The encode() is somewhat of a NOOP, but XML::Simple has some issues
+ # with the utf8 flag.
+ encode('ISO-8859-1', xml_out(\%data,
NoAttr => 1,
NoAttr => 1,
- NumericEscape =>
2
,
+ NumericEscape =>
1
,
RootName => 'TranxRequest',
SuppressEmpty => undef,
XMLDecl => '<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>',
RootName => 'TranxRequest',
SuppressEmpty => undef,
XMLDecl => '<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>',
- );
+ )
)
;
}
# Map the various fields from the response, and put their values into our
}
# Map the various fields from the response, and put their values into our