Avdump2 on Linux: Difference between revisions

Jump to navigation Jump to search
(Added UTF-8 locale check to the example script)
m (Removed forgotten debug line from the example script)
Line 73: Line 73:
   LC_ALL="$LANG"
   LC_ALL="$LANG"
fi
fi
echo LC_ALL=$LC_ALL
if [ "$LC_ALL" == "${LC_ALL%[Uu][Tt][Ff]?(-)8}" ]; then
if [ "$LC_ALL" == "${LC_ALL%[Uu][Tt][Ff]?(-)8}" ]; then
   LC_ALL=en_US.UTF-8
   LC_ALL=en_US.UTF-8