Switched to the mbstring method of getting a char at a specific index.