Commit Graph
7 Commits
Author SHA1 Message Date
Reece H. Dunn b3e0fbc8ed encoding.c: Create a text_decoder_decode_string_multibyte helper to work with the espeakCHARS_* flags. 2017-04-01 13:36:18 +01:00
Reece H. Dunn d167d5649b encoding.c: Implement support for the auto-detected character set (utf-8 + codepoint-encoding). 2017-03-31 22:30:27 +01:00
Reece H. Dunn 7c16ac543c Use the text decoder API in readclause.c. 2017-03-31 13:17:37 +01:00
Reece H. Dunn 0b0661cef0 Use the encoding.c tables for 8-bit encodings.
1.  Store the encoding enumeration values in the Translation
    object, instead of the charset table.

2.  Use the encoding.c charset table data instead of the ones
    in translate.c.

3.  Remove the charset language file option -- it is only used
    in the Arabic language file, but is used incorrectly there.

4.  Specify ISO 8859-6 for the 8-bit encoding for Arabic instead
    of UTF-8, so that espeakCHARS_8BIT and espeakCHARS_AUTO work
    correctly for Arabic.
2017-03-31 00:01:14 +01:00
Reece H. Dunn 6a0b5e4ae1 encoding.c: Support using wchar_t strings with the text decoder API. 2017-03-30 22:52:38 +01:00
Reece H. Dunn 0590da5da7 encoding.c: Create a string decoding API; support US-ASCII decoding. 2017-03-27 22:49:47 +01:00
Reece H. Dunn da7eaa7b9c encoding.c: Create a text decoder API based on the usage in readclause.c. 2017-03-27 22:16:04 +01:00