Commit 02452cc2 by Marco Mariani

cygwin: recode output of ipwin to $LANG (with hardcoded -f cp1252)

1 parent da0bf253
......@@ -305,7 +305,12 @@ function format_interface_name()
local guid="$1"
if [[ ${guid} == {*} ]] ; then
echo $(ipwin name ${guid})
name=$(ipwin name ${guid})
if [[ "x$LANG" = "x" ]]; then
echo $name
else
echo $name | iconv -f cp1252 -t $(echo $LANG | cut -d. -f2)
fi
else
echo ${guid}
fi
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!