2013-10-22 14:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c
* use non POSIX termios input line flag IUTF8 to detect UTF8
mode if other methods failed.
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2013-10-22 14:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/gttrm/gttrm.c
|
||||
* use non POSIX termios input line flag IUTF8 to detect UTF8
|
||||
mode if other methods failed.
|
||||
|
||||
2013-10-15 23:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
- contrib/hbfship/flddeci.c
|
||||
* contrib/hbfship/hbfship.hbp
|
||||
|
||||
@@ -2146,7 +2146,15 @@ static HB_BOOL hb_trm_isUTF8( PHB_GTTRM pTerm )
|
||||
return fUTF8;
|
||||
|
||||
szLang = getenv( "LANG" );
|
||||
return szLang && strstr( szLang, "UTF-8" ) != NULL;
|
||||
if( szLang && strstr( szLang, "UTF-8" ) != NULL )
|
||||
return HB_TRUE;
|
||||
|
||||
#ifdef IUTF8
|
||||
if( ( pTerm->curr_TIO.c_iflag & IUTF8 ) != 0 )
|
||||
return HB_TRUE;
|
||||
#endif
|
||||
|
||||
return HB_FALSE;
|
||||
}
|
||||
|
||||
static void hb_gt_trm_PutStr( PHB_GTTRM pTerm, int iRow, int iCol, int iAttr, const char * pStr, int iLen, int iChars )
|
||||
|
||||
Reference in New Issue
Block a user