Finally resolve encoding issues, the issue was preserving html entities, outputting using US-ASCII