add 1 and encode to ANSI