Fix syntax errors in gh_utils.rb and add utf-8 encoding to game_controller.rb