From 30868f2ebd78bc51dbc14dbda4ee896b16e53000 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Dec 2006 17:30:47 +0000 Subject: (send_conf_via_soap) fix country issue with UTF-8 when registering an host (#27448) --- mdkonline | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdkonline b/mdkonline index abe16f40..8959c96a 100755 --- a/mdkonline +++ b/mdkonline @@ -33,6 +33,7 @@ use wizards; use lang; use Getopt::Long; +use Encode qw(encode); BEGIN { unshift @::textdomains, 'mdkonline', 'drakfirstboot' } @@ -112,6 +113,7 @@ sub get_conf() { sub send_conf_via_soap { my ($login, $password, $boxname, $descboxname, $country) = @_; my $_w = $in->wait_message(N("Please wait"), N("Reading configuration\n")) if $ia; + my $country = encode("UTF-8", $country); my $reg_host = mdkonline::register_upload_host($login, $password, $boxname, $descboxname, $country); } -- cgit v1.2.1