Fix unicode script parsing