Testing of IDN

Initial
Stephane Bortzmeyer 21 years ago
parent 9bec7086de
commit 98163911ec

@ -427,6 +427,7 @@ main (argc, argv)
server = argv[0];
#ifdef IDN
locale_server = server;
/* TODO: segfaults if the locale is invalid */
utf8_server = stringprep_locale_to_utf8 (server);
server = utf8_server;
#endif

@ -0,0 +1,14 @@
#!/bin/sh
# $Id$
echo ""
echo "Since this tests tries remote servers, a failure is not always "
echo " echoping's fault: it may be a network problem."
echo ""
echo "For this specific test, you *must* set the locale to UTF-8. It is system-"
echo "dependent but you typically 'export LC_CTYPE=xx_XX.utf8'. 'locale -a' to get"
echo "possible values."
./echoping -h / -v café.gennic.net
Loading…
Cancel
Save