fixed range parsing, now accepts UTF8 chars