Register non-standard encoding names.

This commit is contained in:
Vincent Richard 2010-04-13 09:51:30 +00:00
parent 89175919b0
commit 1e57aa31c5

View File

@ -46,6 +46,10 @@ encoderFactory::encoderFactory()
registerName <sevenBitEncoder>("7bit");
registerName <eightBitEncoder>("8bit");
registerName <binaryEncoder>("binary");
// Also register some non-standard encoding names
registerName <sevenBitEncoder>("7-bit");
registerName <eightBitEncoder>("8-bit");
}