Match Unicode either as such or as UTF-8


This is a fix-up for commit 8b17acbfde3c6f86d29e62f5de14e6b9340ac3ce;
it turns out perl5, at least on our current systems, is encoding the
data we're parsing in UTF-8. (Parent commit was tested with
onlinegdb's version of perl, which was using naked Unicode, not UTF-8,
so we may need the Unicode-form of the check, too.)

Task-number: QTQAINFRA-4630
Change-Id: Ic93f9fc1d0cd1d8f6bf6ec1e695454974a84f620
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
commit0c9290408c128d29411acb13add50209ea2f4355
parent8b17acbfde3c6f86d29e62f5de14e6b9340ac3ce
authorEdward Welbourne <edward.welbourne@qt.io>
committerDaniel Smith <Daniel.Smith@qt.io>
commit timeMon, 15 Nov 2021 12:06:03 +0000