aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorK. Handa2019-08-04 21:14:26 +0900
committerK. Handa2019-08-04 21:14:26 +0900
commita8026dfde9734a03ad03a9872ec801871dd1d81a (patch)
tree92039f7268c2824470411cca944c7f638e645c15 /src/coding.h
parent5ec3f70527e330abf4c0c3519fa4914c5f094358 (diff)
downloademacs-a8026dfde9734a03ad03a9872ec801871dd1d81a.tar.gz
emacs-a8026dfde9734a03ad03a9872ec801871dd1d81a.zip
Add Unicode-safe UTF-8 converter
* src/coding.c (encode_string_utf_8, decode_string_utf_8): New functions. * src/coding.h (encode_string_utf_8, decode_string_utf_8): Extern them.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coding.h b/src/coding.h
index 70690d42d30..8efddbf55c4 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -689,6 +689,10 @@ extern Lisp_Object code_convert_string (Lisp_Object, Lisp_Object,
689 Lisp_Object, bool, bool, bool); 689 Lisp_Object, bool, bool, bool);
690extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object, 690extern Lisp_Object code_convert_string_norecord (Lisp_Object, Lisp_Object,
691 bool); 691 bool);
692extern Lisp_Object encode_string_utf_8 (Lisp_Object, Lisp_Object, bool,
693 Lisp_Object, Lisp_Object);
694extern Lisp_Object decode_string_utf_8 (Lisp_Object, Lisp_Object, bool,
695 Lisp_Object, Lisp_Object);
692extern Lisp_Object encode_file_name (Lisp_Object); 696extern Lisp_Object encode_file_name (Lisp_Object);
693extern Lisp_Object decode_file_name (Lisp_Object); 697extern Lisp_Object decode_file_name (Lisp_Object);
694extern Lisp_Object raw_text_coding_system (Lisp_Object); 698extern Lisp_Object raw_text_coding_system (Lisp_Object);