fix encoding and potentially fix UTF-8 errors with ruby-electric.elwq