Added startCodepoint option