diff --git a/windows/plink.c b/windows/plink.c index 8b871912..30779cef 100644 --- a/windows/plink.c +++ b/windows/plink.c @@ -375,7 +375,7 @@ int main(int argc, char **argv) while (arg) { if (cmdbuf->len > 0) put_byte(cmdbuf, ' '); /* add space separator */ - put_dataz(cmdbuf, cmdline_arg_to_str(arg)); + put_dataz(cmdbuf, cmdline_arg_to_utf8(arg)); arg = arglist->args[arglistpos++]; }