emacs-devel
[Top][All Lists]
Advanced

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

Re: auto-recognizing utf-16le ?


From: Andreas Schwab
Subject: Re: auto-recognizing utf-16le ?
Date: Tue, 16 Jun 2009 17:01:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

Kenichi Handa <address@hidden> writes:

> And, I've just installed a fix of another bug.

I think instead of

      while (detect_info->rejected != CATEGORY_MASK_UTF_16)

you probably want to check this:

      while ((detect_info->rejected & CATEGORY_MASK_UTF_16) != 
CATEGORY_MASK_UTF_16)

since there may be bits for other categories already set in rejected.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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