Open GoogleCodeExporter opened 9 years ago
Maybe it is best to inherit FPDF class and override write method?
Or add new method like "write_replace_null_with_empty_string" to current FPDF
class?
Original comment by romiq...@gmail.com
on 8 Jan 2013 at 9:58
Well, i could inherit FPDF for sure but at least since write takes only string
wouldn't be better to check its type and raise before trying to call .replace()
on it? Which is quite the opposite of what i'm asking but at least makes the
situation clear.
Original comment by riccardo...@gmail.com
on 9 Jan 2013 at 8:24
Ok. better error input handling. I'll propose patch.
Original comment by romiq...@gmail.com
on 9 Jan 2013 at 8:41
Original issue reported on code.google.com by
riccardo...@gmail.com
on 5 Jan 2013 at 11:24