cpp()'s EBCDIC autodetection code fails
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1223
Reported by @grubba
> string s = "#charset EBCDIC-US\nFoo Bar\n";
Result: "#charset EBCDIC-US\nFoo Bar\n"
> object enc = Locale.Charset.encoder("EBCDIC-US");
Result: object
> string e = enc->feed(s)->drain();
Result: "{\203\210\201\231?\205?@??????`??\n?\226\226@?\201\231\n"
> cpp(e);
Result: "# 1
\"-\"\n{\203\210\201\231?\205?@??????`??\n?\226\226@?\201\231\n"
Note the first line, which destroys the autodetection code...