mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
fix UTF32Encoder
This commit is contained in:
@@ -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 UTF32Encoding::queryConvert(const unsigned char* bytes, int length) const
|
||||||
{
|
{
|
||||||
int ret = -2;
|
int ret = -4;
|
||||||
|
|
||||||
if (length >= 4)
|
if (length >= 4)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user