+
+ case $f in
+ */wx/chartype.h)
+ # This file defines _T() for compatibility so don't check it.
+ ;;
+
+ *)
+ if svnl cat $f | fgrep -qw '_T'; then
+ echo "Please use wxT() instead of _T() in $f." >&2
+ rc=1
+ fi
+ ;;
+ esac
+done
+
+for f in $changed_text_files; do
+ if ! svnl cat $f | iconv -f utf8 -t WCHAR_T > /dev/null; then
+ echo "File $f doesn't use UTF-8, please convert it before committing." >&2
+ echo "(or set svn:mime-type property correctly if the file is binary)." >&2
+ rc=1
+ fi