Accented characters into SQL table

OK the error log says:

[21-Nov-2015 17:46:43 Europe/London] PHP Warning:  preg_replace(): Compilation failed: invalid UTF-8 string at offset 8 in /path/test.php on line 37

Probably your PHP file is in a wrong encoding. Change your editor to UTF-8, save the file again and it should work.

1 Like

That was it. I would never have thought of that and would be fiddling with the php forever. Thank you so much.

Glad it finally worked!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.