--- a/branches/0.71/lib/XMLRPC/Lite.pm
+++ b/branches/0.71/lib/XMLRPC/Lite.pm
@@ -4,7 +4,7 @@
 # SOAP::Lite is free software; you can redistribute it
 # and/or modify it under the same terms as Perl itself.
 #
-# $Id: Lite.pm 386 2011-08-18 19:48:31Z kutterma $
+# $Id: Lite.pm 405 2012-06-23 12:39:01Z kutterma $
 #
 # ======================================================================
 
@@ -140,7 +140,7 @@
 
     return ['struct', {}, [
         map {
-            ['member', {}, [['name', {}, $_], $self->encode_object($hash->{$_})]]
+            ['member', {}, [['name', {}, SOAP::Utils::encode_data($_)], $self->encode_object($hash->{$_})]]
         } keys %{ $hash }
     ]];
 }