Many computer users are familiar with compressed formats such as zip, gzip, or gif images. These are based on a method called Ziv-Lempel coding, which turns out to be an interesting exercise in finding patterns in text.
Children's rhymes and stories are good examples for text compression, because they often involve repeated words and sequences.
Computing Science Inside Workshop has an activity Zipping it Up which is a nice extension activity to this topic. This workshop questions why it has taken so long to introduce 3G mobile phones, identifying lack of bandwidth as a key issue. It explores the area of data compression and decompression - essential in any application where the bandwidth is low or storage is limited - and gets pupils working with the kinds of algorithms that underlie the Zip utility found on a PC.
Note: You will need to apply and register in order to recieve the Workshop Pack for this activity.
An older version of this activity can be downloaded in PDF format here. The content is similar to the current version, but there's some extra technical information.
The Mathmaniacs web site has a similar activity (lesson 2).