Could someone explains me why what is the difference between these
encodings: utf8, UTF8, utf8-plain, utf8x
In the Encoding ctor there is this code:
} else if (i == "UTF-8") {
// UTF8 can encode all UCS4 code points
start_encodable_ = max_ucs4;
complete_ = true;
which means that we can avoid the lengthy initialization is the encoding
is UTF-8. So far, so good. Problem is that UTF-8 is not in the allowed
encoding list...
So, shall I replace this test with:
(i == "utf8" || i == "UTF8" || i == "utf8-plain" || i == "utf8x")
???
Abdel.