Make sure params inside an action are encoded in UTF-8

Added a test to ensure that params inside an action are properly encoded in UTF-8. This fixes #210 if all tests pass.