asterisk/include
George Joseph ceda5a9859 res_pjsip: Replace invalid UTF-8 sequences in callerid name
* Added a new function ast_utf8_replace_invalid_chars() to
  utf8.c that copies a string replacing any invalid UTF-8
  sequences with the Unicode specified U+FFFD replacement
  character.  For example:  "abc\xffdef" becomes "abc\uFFFDdef".
  Any UTF-8 compliant implementation will show that character
  as a � character.

* Updated res_pjsip:set_id_from_hdr() to use
  ast_utf8_replace_invalid_chars and print a warning if any
  invalid sequences were found during the copy.

* Updated stasis_channels:ast_channel_publish_varset to use
  ast_utf8_replace_invalid_chars and print a warning if any
  invalid sequences were found during the copy.

ASTERISK-27830

Change-Id: I4ffbdb19c80bf0efc675d40078a3ca4f85c567d8
2023-03-01 09:49:39 -06:00
..
asterisk res_pjsip: Replace invalid UTF-8 sequences in callerid name 2023-03-01 09:49:39 -06:00
solaris-compat Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
asterisk.h asterisk: Add macro for curl user agent. 2022-02-25 13:04:14 -06:00
jitterbuf.h progdocs: Fix grouping for latest Doxygen. 2021-12-02 10:26:08 -06:00