I am using below code to parse the SQL queries. How do i take care of parsing for japanese/ chinese characters which are multibyte.
The complete code is available at ParserTokenManager.java Source File.