Reece H. Dunn
d167d5649b
encoding.c: Implement support for the auto-detected character set (utf-8 + codepoint-encoding).
8 years ago
Reece H. Dunn
be480c12de
Make TranslateClause return 'const void *' to preserve constness.
8 years ago
Reece H. Dunn
6451917bde
encoding.c: Fix text_decoder_get_buffer at EOF.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
8933185de4
Remove the unused f_in argument to the Read/Translate/SpeakNextClause functions.
8 years ago
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.
8 years ago
Reece H. Dunn
a714c0554b
encoding.c: Use a codepage table to implement ISO-8859-1.
8 years ago
Reece H. Dunn
db314438de
encoding.c: don't generate warnings in text_decoder_decode_string.
8 years ago
Reece H. Dunn
6a0b5e4ae1
encoding.c: Support using wchar_t strings with the text decoder API.
8 years ago
Reece H. Dunn
2de0368d39
encoding.c: Store the start/end positions as 'const utf8_t *'.
8 years ago
Reece H. Dunn
b74f756f00
encoding.c: Support the ISO-10646-UCS-2 encoding.
8 years ago
Reece H. Dunn
fa5d31a8af
encoding.c: Support the UTF-8 encoding.
8 years ago
Reece H. Dunn
27ff1f6b69
encoding.c: Use 16 bits for the codepage encodings as they are all in the Basic Multilingual Plane.
8 years ago
Reece H. Dunn
2499610433
encoding.c: Support the ISCII encoding.
8 years ago
Reece H. Dunn
39f3ea54cf
encoding.c: Support the KOI8-R encoding.
8 years ago
Reece H. Dunn
b8a1006dd8
encoding.c: Support the ISO 8859-16 encoding.
8 years ago
Reece H. Dunn
166e815723
encoding.c: Support the ISO 8859-15 encoding.
8 years ago
Reece H. Dunn
91e054ec7c
encoding.c: Fix the ISO 8859 encoding names with date suffices.
8 years ago
Reece H. Dunn
0235c42652
encoding.c: Support the ISO 8859-14 encoding.
8 years ago
Reece H. Dunn
24faceab57
encoding.c: Support the ISO 8859-13 encoding.
8 years ago
Reece H. Dunn
495c0aed20
encoding.c: Support the ISO 8859-11 encoding.
8 years ago
Reece H. Dunn
84f20f8bb8
encoding.c: Support the ISO 8859-10 encoding.
8 years ago
Reece H. Dunn
1d2d0acd95
encoding.c: Use a lookup table to find the appropriate decoder.
8 years ago
Reece H. Dunn
0421f127e8
encoding.c: Support the ISO 8859-9 encoding.
8 years ago
Reece H. Dunn
da62a4c097
Add mnemonics.c and encoding.c to the Windows build.
8 years ago
Reece H. Dunn
7da585e25e
encoding.c: Support the ISO 8859-8 encoding.
8 years ago
Reece H. Dunn
a6eac922bd
encoding.c: Fix the ISO 8859-6 encoding.
8 years ago
Reece H. Dunn
56c0b38785
encoding.c: Support the ISO 8859-7 encoding.
8 years ago
Reece H. Dunn
da301c6b35
encoding.c: Use 0xfffd in ISO 8859-3 instead of 0x0000.
8 years ago
Reece H. Dunn
9e4638ff25
encoding.c: Support the ISO 8859-6 encoding.
8 years ago
Reece H. Dunn
51295d9d1b
encoding.c: Support the ISO 8859-5 encoding.
8 years ago
Reece H. Dunn
b5589fc5ee
encoding.c: Support the ISO 8859-4 encoding.
8 years ago
Reece H. Dunn
a93b0f3d64
encoding.c: Support the ISO 8859-3 encoding.
8 years ago
Reece H. Dunn
0a0e84a322
encoding.c: Support the ISO 8859-2 encoding.
8 years ago
Reece H. Dunn
26bec1eedf
encoding.c: Support the ISO 8859-1 encoding.
8 years ago
Reece H. Dunn
0590da5da7
encoding.c: Create a string decoding API; support US-ASCII decoding.
8 years ago
Reece H. Dunn
da7eaa7b9c
encoding.c: Create a text decoder API based on the usage in readclause.c.
8 years ago
Reece H. Dunn
887b1c837f
encoding.c: Don't crash when passing a NULL string to LookupMnem.
8 years ago
Reece H. Dunn
26f4eb4f8f
encoding.c: Support US-ASCII encoding names.
8 years ago
Reece H. Dunn
d5d93be00e
Group the LookupMnem API implementations into mnemonics.c.
8 years ago
Reece H. Dunn
b47363b7d3
Create an espeak_ng_EncodingFromName API.
8 years ago
Reece H. Dunn
ddc075288c
Windows: Fix a crash when building the 'en' voice.
This occurs in ReadVoiceFile (voices.c) when calling isspace to
isolate the attribute name. It happens because the msvc
implementation of isspace asserts that the character is in a valid
range, which fails for non-ASCII characters.
This commit resolves the problem by calling iswspace, which uses
the ucd-tools implementation.
8 years ago
Reece H. Dunn
93cede9374
Windows Installer: Install the 'pt' voice, renamed from 'pt-PT'.
8 years ago
Reece H. Dunn
d9e5cc5941
Windows Installer: Install the 'nb' voice, renamed from 'no'.
8 years ago
Reece H. Dunn
a9be45e9af
Windows Installer: The fa-en-us voice has been removed, so remove it from the installer.
8 years ago
Reece H. Dunn
51c8a2d7d9
Rename the isVel check to isVelar.
8 years ago
Reece H. Dunn
8ba9484927
Windows Installer: Update the locations of the language files.
8 years ago
Reece H. Dunn
50a1a5f2f6
Windows: Update the Visual C++ project files to build the ucd-tools files.
8 years ago
Reece H. Dunn
bb051e6086
ky: don't speak numbers character by character
8 years ago
Reece H. Dunn
c4ca7a1202
Add wchar.h and wctype.h compatibility shims using ucd-tools. This is applied to all platforms to provide consistent behaviour.
8 years ago