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

...er.rb