Strip trailing whitespace
Default formatter function should handle unicode properly!