Fix for issue #25: Default formatter function should handle unicode properly.