1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00

Handle internationalized domain names (IDN)

This commit is contained in:
dmiller
2022-09-21 21:03:57 +00:00
parent 2f9fde995c
commit e3ab97215d
7 changed files with 68 additions and 24 deletions

View File

@@ -63,6 +63,7 @@
/* $Id$ */
#include <signal.h>
#include <locale.h>
#include "nmap.h"
#include "NmapOps.h"
@@ -116,6 +117,7 @@ int main(int argc, char *argv[]) {
int ret;
int i;
o.locale = strdup(setlocale(LC_CTYPE, NULL));
set_program_name(argv[0]);
#ifdef __amigaos__