# HG changeset patch # User Dave Love # Date 1054579793 0 # Node ID cb89e76907df854e8d902d2e58e9c1173ecbe277 # Parent 3c675181c3d884ef996c32c5be127c791c61cc3d (ENCODE_UTF_8): New. (Qutf_8): Declare. diff -r 3c675181c3d8 -r cb89e76907df src/coding.h --- 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;