Moved products_raw()
[Business-OnlinePayment-InternetSecure.git] / InternetSecure.pm
index a4cd4ed..58b6efd 100755 (executable)
@@ -230,9 +230,6 @@ sub parse_response {
 
        $self->server_response($response);
        
-       # FIXME: It's not quite clear whether there should be some decoding, or
-       # if the result is already utf8.)
-
        $response = xml_in($response,
                        ForceArray => [qw(product flag)],
                        GroupTags => { qw(Products product flags flag) },
@@ -487,6 +484,11 @@ following:
 Results of the AVS and CVV2 checks.  See the Internet Secure documentation for
 the list of possible values.
 
+=item products_raw()
+
+...
+
+
 =back
 
 
@@ -528,14 +530,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.)
 
-=head2 products_raw
-
-...
+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.
 
 
 =head1 EXPORT