From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> Date: Sat, 23 Dec 2017 16:52:16 +0200<= div>
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: phst@google.c= om, emacs-deve= l@gnu.org
>
> Btw, doesn't find_charsets_in_text do the same job cleaner and
> quicker?=C2=A0 AFAIU, all you need is make sure there are no character= s
> from the 2 eight-bit-* charsets in the text, or did I miss something?<= br>
Ah, I see you test the encoded string, so find_charsets_in_text won't do.=C2=A0 But maybe find_charsets_in_text could be called on the original strings before encoding them, which would be even better?