From: fbriere Date: Tue, 14 Feb 2006 00:02:03 +0000 (+0000) Subject: Added doc about charsets X-Git-Tag: V0_01~52 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment-InternetSecure.git;a=commitdiff_plain;h=f0912d3619840b1199d7d60947970cb3ce5446de Added doc about charsets --- diff --git a/InternetSecure.pm b/InternetSecure.pm index 1442894..5ffc99c 100755 --- a/InternetSecure.pm +++ b/InternetSecure.pm @@ -525,9 +525,17 @@ When using a products list, the B field passed to B should be left undefined. -=head2 Character encodings +=head2 Character encoding -... +Since communication to/from Internet Secure is encoded with UTF-8, all Unicode +characters are theoretically available when submitting information via +B. (Further restrictions may be imposed by Internet Secure 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. =head2 products_raw