From f0912d3619840b1199d7d60947970cb3ce5446de Mon Sep 17 00:00:00 2001 From: fbriere Date: Tue, 14 Feb 2006 00:02:03 +0000 Subject: [PATCH] Added doc about charsets --- InternetSecure.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 -- 2.11.0