Fix return for setCapitalAccents