[FIX] ENCODE, LAST LINE, ACT CODE

Merged Santiago Apel requested to merge fixtxt into 12.0

Changes txt output encoding to ANSI (cp1252), removes last empty line, adds act_code in register 3

Merge request reports