Study on error detection relating to data compression