Fixed a bug where an incorrect keyword was being used to passed the encoding.
Merge pull request #2 from ahmadnazir/issue-1

Issue#1: Using the correct keyword argument