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

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

Re: [w32] TrueType font with multibyte name


From: Jason Rumney
Subject: Re: [w32] TrueType font with multibyte name
Date: Sat, 16 Oct 2004 12:37:37 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

"Satomi I." <address@hidden> writes:

> I noticed that the problem exists in the
> fast_c_string_match_ignore_case() function in search.c. It may return
> a wrong result if a multibyte string is passed.

I don't think fast_c_string_match_ignore_case() is supposed to handle
multibyte (ie Emacs internal encoding) strings. I think the proper fix
is to do the conversion to "unibyte" in the function that calls it, or
use fast_string_match with a Lisp string instead.




reply via email to

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