From: fbriere Date: Sat, 18 Feb 2006 06:20:54 +0000 (+0000) Subject: Rewrote the Characer encoding section X-Git-Tag: V0_01~3 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-InternetSecure.git;a=commitdiff_plain;h=10b8a9d3800b9fa06bd1271ab666d51a85e093c6 Rewrote the Characer encoding section --- diff --git a/InternetSecure.pm b/InternetSecure.pm index c7f71b7..8590efb 100755 --- a/InternetSecure.pm +++ b/InternetSecure.pm @@ -617,15 +617,13 @@ be left undefined. =head2 Character encoding -Since communication to/from InternetSecure is encoded with UTF-8, all Unicode -characters are theoretically available when submitting information via -B(). (Further restrictions may be imposed by InternetSecure itself.) - -When using non-ASCII characters, all data provided to B() should either -be in the current native encoding (typically latin-1, unless it was modified -via the C pragma), or be decoded via the C module. -Conversely, all data returned after calling B() will be automatically -decoded. +When using non-ASCII characters, all data provided to B() should +have been decoded beforehand via the C module, unless your data is in +ISO-8859-1 and you haven't meddled with the C pragma. (Please +don't.) + +InternetSecure currently does not handle characters outside of ISO-8859-1, so +these will be replaced with C before being transmitted. =head1 EXPORT