Refactoring for CHARSET & END_OF_LINE execution.