Declare encoding to fix unicode error