Unicode support for history plugin.

Tiny obvious fix.