bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22815: 25.0.91; emacs-module.*


From: ohki
Subject: bug#22815: 25.0.91; emacs-module.*
Date: Fri, 26 Feb 2016 18:16:05 +0900

Eli Zaretskii writes:
> > From: Atsuo Ohki <address@hidden>
> > Date: Fri, 26 Feb 2016 16:28:09 +0900
> > 
> >  This is not a bug report, but feature enhancemnt for emacs-module.*
> > 
> >  API of emacs-module has two Lisp string related functions,
> >  `copy_string_contents' and `make_string'.
> >  Those functions assume UTF-8 encoded strings,
> >  but it becomes flexible if a user can specify a specific encoding.
> 
> Thanks.
> 
> But why cannot the module convert the string to UTF-8 before passing
> it to Emacs?
> 

 Because, an external module could use a coding system other then UTF-8.
 I have used emacs-module capability to plugin CANNA server interface
 (CANNA server is a rather out of dated KANA-KANJI converter for japanese),
 and CANNA server uses euc-jp encoding for communication.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]