Fix ruby parsers to support 2byte characters.