That particular line isUse of the encoding pragma is deprecated at /openkore/src/ErrorHandler.pm line 26.
. "encoding" officially is not supported anymore on Perl (there used to be a warning, now it just won't work) , but it is found on several files in Openkore, making it unusable.use encoding 'utf8';
It should be removed and fixed for the sake of compatibility with newer systems.