fix UTF32Encoder

This commit is contained in:
Marian Krivos 2012-07-31 18:35:47 +00:00
parent c86b54cf77
commit 24225d39ec

View File

@ -172,7 +172,7 @@ int UTF32Encoding::convert(int ch, unsigned char* bytes, int length) const
int UTF32Encoding::queryConvert(const unsigned char* bytes, int length) const
{
int ret = -2;
int ret = -4;
if (length >= 4)
{