summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfbriere <fbriere>2006-02-14 00:02:03 +0000
committerfbriere <fbriere>2006-02-14 00:02:03 +0000
commitf0912d3619840b1199d7d60947970cb3ce5446de (patch)
tree459547d26a530c388eef152c2c5fbc88565dfb2c
parent09a9bda7bcbc95da7ead62ca53ec63fed3a886c7 (diff)
Added doc about charsets
-rwxr-xr-xInternetSecure.pm12
1 files 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<amount> field passed to B<content()> 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<submit()>. (Further restrictions may be imposed by Internet Secure itself.)
+
+When using non-ASCII characters, all data provided to B<submit()> should either
+be in the current native encoding (typically latin-1, unless it was modified
+via the C<encoding> pragma), or be decoded via the C<Encode> module.
+Conversely, all data returned after calling B<submit()> will be automatically
+decoded.
=head2 products_raw