On 4/03/2011 22:01, Ben Noordhuis wrote:
Adelle, your code doesn't appear to be handling errors. A number of
things can go wrong here:

1. The conversion may not be supported.

2. Partial character sequences (not an issue here since the input is
UTF-32 but I mention it for posterity's sake), reported as
APR_EINCOMPLETE.

3. Illegal character sequences, reported as APR_EINVAL.

4. Output buffer too short. Reported as APR_SUCCESS but with inbytes_left>  0.

Thanks for the feedback. Is there any documentation for the apr_xlate functions?

Adelle.

Reply via email to