I have compiled (PICOTCP) Mongoose (latest from git repository) successfully (or so it seems) on an IBM i server. Character encoding on the machine is EBCDIC 37.
Now I am testing the mongoose server with a request via curl from my linux box but it seems that the content is not correctly converted to the EBCDIC CCSID. I have debugged it a little bit and I found that there is "garbage" in the function mg_http_get_request_len(const char *s, int buf_len). And it returns with -1. Do I need to convert stuff myself or am I doing something wrong / missing something?
Thanx in advance.