Mats Lidell writes:
>>>>> Stephen J Turnbull <stephen(a)xemacs.org>
writes:
> (get-coding-system 'utf-8)
> is all you need to do.
[...]
Are you saying I should just do a top-level call to get-coding-system?
(And let a possible error stop further processing?)
Exactly.
That didn't feel right so I tried to steel the code from
somewhere
else but I fail to find any other place that checks for this. So this
would be the first files to check for utf-8 coding system in order to
refuse to load!?
Probably. Most Mule functions require coding system support in
general except for ASCII and Latin-1. These are the only libraries I
know that requires a specific encoding other than those two basic
ones.
This is what came up with. OK?
(eval-when (load eval)
(unless (find-coding-system 'utf-8)
(error 'invalid-operation "`idna.el' requires support for the utf-8
coding system")))
OK.
Steve
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta