From: Dave Love Date: Tue, 16 Sep 2003 17:31:04 +0000 (+0000) Subject: (ENCODE_UTF_8): New. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3a208b0fa08bce282e7c846a232d40e965e2b4d;p=emacs.git (ENCODE_UTF_8): New. --- diff --git a/src/coding.h b/src/coding.h index 78a7d4aac04..a640ba9ebdb 100644 --- a/src/coding.h +++ b/src/coding.h @@ -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));