P
Paul King
I've been getting inconsistent results with mblen and mbrlen on
Solaris.
Although mblen accepts a multibyte string, mbrlen always rejects it,
reporting an encoding error. The mbstate_t variable is valid (it has
been zeroed with memset, and I have confirmed that it is in a valid
initial state with mbsinit directly before the call to mbrlen).
Can anyone shed any light on why this could be happening ?
Solaris.
Although mblen accepts a multibyte string, mbrlen always rejects it,
reporting an encoding error. The mbstate_t variable is valid (it has
been zeroed with memset, and I have confirmed that it is in a valid
initial state with mbsinit directly before the call to mbrlen).
Can anyone shed any light on why this could be happening ?