You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by Kasper Sørensen <i....@gmail.com> on 2013/07/25 15:43:55 UTC

[PATCH] Better encoding recognition in UnicodeWriter

Hi there,

In our unicode writer (used by CSV module to create new CSV files) we add a
byte-order-mark (BOM) for UTF based encodings. But it seems we only do it
when those encodings are spelled with a dash (UTF-8, but not UTF8). I've
made this little patch to fix that issue:

https://gist.github.com/kaspersorensen/6079742

Regards,
Kasper