pcre: encoding needs to be set to utf8
pcre: fix tc that failed on Windows