Hi there,
I'm trying to make a simple PDF generated from a CSV in ruby. I do some basic parsing, decide on a couple cells that have things that are important to me, and do some math to average some values. Nothing fancy. I only use `text`, `table`, and `move_down` a few times, the PDFs are only two pages long. However, the PDF somehow repeatedly fails to parse a non width space character (which I think is the above error) a casual 4300 times. I'm pretty sure this is directly related to how many empty cells there are in the CSV, but I'm not calling `pdf.text` anywhere near that amount. My questions are:
- Where and why is prawn trying repeatedly to encode the zero width space? Or choking on it?
- Is there something I'm missing about default PDF generation that's forcing the encoding to be WINDOWS-1252? Which I assume can't handle the U+200B character? Can I avoid it?
- Are there unsurprising ways to strip the character from the CSV? I'm looking into doing this currently...
Thanks,
Scott