Fix encoding in substr in dashboard homescreen
Fix encoding in substr in dashboard homescreen for badges too