mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 13:54:20 +00:00
[1.47.12]
Change program code for espeak/libespeak to C, remove C++ features. Language changes: af, ga, grc, hu, nl, sw, ta git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@364 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+3
-2
@@ -765,10 +765,11 @@ ENTER("espeak_Initialize");
|
||||
#ifdef PLATFORM_RISCOS
|
||||
setlocale(LC_CTYPE,"ISO8859-1");
|
||||
#else
|
||||
if(setlocale(LC_CTYPE,"en_US.UTF-8") == NULL)
|
||||
if(setlocale(LC_CTYPE,"C.UTF-8") == NULL)
|
||||
{
|
||||
if(setlocale(LC_CTYPE,"UTF-8") == NULL)
|
||||
setlocale(LC_CTYPE,"");
|
||||
if(setlocale(LC_CTYPE,"en_US.UTF-8") == NULL)
|
||||
setlocale(LC_CTYPE,"");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user