encoding.c: Implement support for the auto-detected character set (utf-8 + codepoint-encoding).

This commit is contained in:
Reece H. Dunn
2017-03-31 22:30:27 +01:00
parent be480c12de
commit d167d5649b
4 changed files with 84 additions and 3 deletions
+6
View File
@@ -36,6 +36,12 @@ text_decoder_decode_string(espeak_ng_TEXT_DECODER *decoder,
int length,
espeak_ng_ENCODING encoding);
espeak_ng_STATUS
text_decoder_decode_string_auto(espeak_ng_TEXT_DECODER *decoder,
const char *string,
int length,
espeak_ng_ENCODING encoding);
espeak_ng_STATUS
text_decoder_decode_wstring(espeak_ng_TEXT_DECODER *decoder,
const wchar_t *string,