"encoding" has been deprecated, but it's still present in OK

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

Message
Author
Lowermouse
Noob
Noob
Posts: 3
Joined: 29 Mar 2015, 10:59
Noob?: No

"encoding" has been deprecated, but it's still present in OK

#1 Post by Lowermouse »

I have no idea if the other topic in bugs has been read or not. I'm posting here just to be sure

Use of the encoding pragma is deprecated at /openkore/src/ErrorHandler.pm line 26.
That particular line is
use encoding 'utf8';
. "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.
It should be removed and fixed for the sake of compatibility with newer systems.