changeset 51407:cb89e76907df

(ENCODE_UTF_8): New. (Qutf_8): Declare.
author Dave Love <fx@gnu.org>
date Mon, 02 Jun 2003 18:49:53 +0000
parents 3c675181c3d8
children 8f1bed1dee3c
files src/coding.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Mon Jun 02 18:49:29 2003 +0000
+++ b/src/coding.h	Mon Jun 02 18:49:53 2003 +0000
@@ -614,6 +614,8 @@
 
 #endif /* !WINDOWSNT */
 
+#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
+
 /* Extern declarations.  */
 extern int decode_coding P_ ((struct coding_system *, const unsigned char *,
 			      unsigned char *, int, int));
@@ -655,6 +657,7 @@
 extern Lisp_Object Qraw_text, Qemacs_mule;
 extern Lisp_Object Qbuffer_file_coding_system;
 extern Lisp_Object Vcoding_category_list;
+extern Lisp_Object Qutf_8;
 
 extern Lisp_Object Qtranslation_table;
 extern Lisp_Object Qtranslation_table_id;