[TASK] Replace deprecated calls to $GLOBALS['LANG']->JScharCode()