diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 17:30:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-12-05 17:30:47 +0000 |
commit | 30868f2ebd78bc51dbc14dbda4ee896b16e53000 (patch) | |
tree | a09ce70778cf757ae8c1032d3f206ed1651d67a0 | |
parent | 2e6f5b32b83eadbe20afc0ff657de706ac9aa0ad (diff) | |
download | mgaonline-30868f2ebd78bc51dbc14dbda4ee896b16e53000.tar mgaonline-30868f2ebd78bc51dbc14dbda4ee896b16e53000.tar.gz mgaonline-30868f2ebd78bc51dbc14dbda4ee896b16e53000.tar.bz2 mgaonline-30868f2ebd78bc51dbc14dbda4ee896b16e53000.tar.xz mgaonline-30868f2ebd78bc51dbc14dbda4ee896b16e53000.zip |
(send_conf_via_soap) fix country issue with UTF-8 when registering an host (#27448)
-rwxr-xr-x | mdkonline | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |