jsqlparser 에서 Unicode 입력이 불가하여 한글 입출력이 안 됨.
조치
src/main/javacc/JSqlParserCC.jj 를 열어서 다음 내용을 추가
beforeoptions{ IGNORE_CASE=true ; STATIC=false; // DEBUG_LOOKAHEAD= true ; // FORCE_LA_CHECK=true; // DEBUG_TOKEN_MANAGER=true; }
Afteroptions{ IGNORE_CASE=true ; STATIC=false; UNICODE_INPUT = true; // DEBUG_LOOKAHEAD= true ; // FORCE_LA_CHECK=true; // DEBUG_TOKEN_MANAGER=true; }
- javacc 로 compile
- 11
Ref
- http://stackoverflow.com/questions/9500521/print-in-javacc
- http://stackoverflow.com/questions/11911748/non-english-tokens-in-javacc