Added config/option parameter codeUnitSize for changing encoding code unit size