Fix #23 - Make encoding for history/ajax tabs more robust