Removed use of the encoding pragma, which is deprecated in 5.18