]> git.eshelyaron.com Git - emacs.git/commitdiff
(ENCODE_UTF_8): New.
authorDave Love <fx@gnu.org>
Tue, 16 Sep 2003 17:31:04 +0000 (17:31 +0000)
committerDave Love <fx@gnu.org>
Tue, 16 Sep 2003 17:31:04 +0000 (17:31 +0000)
src/coding.h

index 78a7d4aac047579775983884b0ce8bfd0767c8cd..a640ba9ebdb88b61eb140082280bbd5bc1d15dce 100644 (file)
@@ -541,6 +541,10 @@ struct coding_system
 
 #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));