diff src/coding.h @ 89506:4df223da38ce

(ENCODE_UTF_8): New.
author Dave Love <fx@gnu.org>
date Tue, 16 Sep 2003 17:31:04 +0000
parents 2f877ed80fa6
children 7d38a63951c0
line wrap: on
line diff
--- a/src/coding.h	Tue Sep 16 00:24:41 2003 +0000
+++ b/src/coding.h	Tue Sep 16 17:31:04 2003 +0000
@@ -541,6 +541,10 @@
 
 #endif /* !WINDOWSNT */
 
+/* Used by the gtk menu code.  Note that this encodes utf-8, not
+   utf-8-emacs, so it's not a no-op.  */
+#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
+
 /* Extern declarations.  */
 extern Lisp_Object make_conversion_work_buffer P_ ((int, int));
 extern int decoding_buffer_size P_ ((struct coding_system *, int));