Function ndpi_str_to_utf8

Function Documentation

u_char *ndpi_str_to_utf8(u_char *in, u_int in_len, u_char *out, u_int out_len)

Converts a string from ISO 8859 to UTF-8.

Parameters:
  • in – String to convert

  • in_len – Source string lenght

  • out – Destination string buffer (UTF-8)

  • out_len – Length of destination string buffer. It must be at least (2*in_len)+1

Returns:

The destination string buffer