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.
This commit is contained in:
Reece H. Dunn
2017-03-31 00:01:14 +01:00
parent a714c0554b
commit 0b0661cef0
9 changed files with 55 additions and 223 deletions
-7
View File
@@ -29,7 +29,6 @@
- [stressAdd](#stressadd)
- [stressAmp](#stressamp)
- [intonation](#intonation)
- [charset](#charset)
- [dictmin](#dictmin)
- [alphabet2](#alphabet2)
@@ -418,12 +417,6 @@ these defaults may be different for particular languages.
* 3 -- Less intonation, and comma does not raise the pitch.
* 4 -- Pitch rises (rather than falls) at the end of sentence.
### charset
charset <param1>
The ISO 8859 character set number. (not all are implemented).
### dictmin
dictmin <value>