Re: CSV RFC XML TLA
No, it's not a horrible thing to write, but if there were a standard CSV i/o module for C, Java et al, then everybody could use the same one and know what the quirks and bugs of that particular implementation were rather than everybody having their own module with their own quirks and bugs.
Yes, your code has quirks and bugs. All code has quirks and bugs. It would be better if everybody had the same quirky and buggy code.