Encode usernames printed to terminal