about summary refs log tree commit diff stats
path: root/src/LYStrings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYStrings.h')
-rw-r--r--src/LYStrings.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/LYStrings.h b/src/LYStrings.h
index 85d0958c..a42ec557 100644
--- a/src/LYStrings.h
+++ b/src/LYStrings.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYStrings.h,v 1.67 2008/09/05 00:18:18 tom Exp $
+ * $LynxId: LYStrings.h,v 1.68 2008/09/06 14:07:46 tom Exp $
  */
 #ifndef LYSTRINGS_H
 #define LYSTRINGS_H
@@ -16,6 +16,9 @@ extern "C" {
 	,RECALL_MAIL
     } RecallType;
 
+#define IS_UTF8_TTY (LYCharSet_UC[current_char_set].enc == UCT_ENC_UTF8)
+#define IS_CJK_TTY  (HTCJK != NOCJK)
+
 #define is8bits(ch) (UCH(ch) >= 128)	/* isascii(ch) is not POSIX */
 
 /*  UPPER8(ch1,ch2) is an extension of (TOUPPER(ch1) - TOUPPER(ch2))  */