| 1136 |
else // something strange |
else // something strange |
| 1137 |
{ |
{ |
| 1138 |
#ifdef _DEBUG |
#ifdef _DEBUG |
| 1139 |
log_error("*p_buf_offset += %d, *p_conv_len = %d, in_bytes=%d, out_bytes=%d, in_buf[0]=%d\n", |
log_error("iconv(in_bytes=%d, out_bytes=%d) error: %d, in_buf[0]=%d\n", |
| 1140 |
(int)(in_buf - p_buf), (int)(conv_size - out_bytes), in_bytes, out_bytes, in_buf[0]); |
in_bytes, out_bytes, errno, in_buf[0]); |
| 1141 |
#endif |
#endif |
| 1142 |
|
|
| 1143 |
*p_buf_offset += (int)(in_buf - p_buf); |
*p_buf_offset = (int)(in_buf - p_buf); |
| 1144 |
*p_conv_len = (int)(conv_size - out_bytes); |
*p_conv_len = (int)(conv_size - out_bytes); |
| 1145 |
skip_current = 1; |
skip_current = 1; |
| 1146 |
|
|