A technique to implement error detection as part of the arithmetic coding process is described, Heuristic arguments are given to show that a small. amount of extra redundancy can be very effective in detecting errors very quickly, and practical tests confirm this prediction.