Unicode games with perl, MySQL, and XML

Not for the first time I wasted a few hours getting Unicode things to 'just work' in a Perl project which mixed XML and MySQL. Hopefully these notes will prevent another repetition.

Martin Oldfield, 05 Jun 2013