changeset 89506:4df223da38ce

(ENCODE_UTF_8): New.
author Dave Love <fx@gnu.org>
date Tue, 16 Sep 2003 17:31:04 +0000
parents c7f742ad46b6
children 2022a3f38b12
files src/coding.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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));