handle replacement char (Issue #6)