Can you maybe rewrite this to: 
```ruby
if auth.info.name.nil?
#{auth.info.first_name} #{auth.info.last_name}".force_encoding('utf-8')
else
auth.info.name.to_s.force_encoding('utf-8')
end
```