[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-recognizing utf-16le ?
From: |
Kenichi Handa |
Subject: |
Re: auto-recognizing utf-16le ? |
Date: |
Wed, 17 Jun 2009 09:43:04 +0900 |
In article <address@hidden>, Andreas Schwab <address@hidden> writes:
> 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.
Ah! You are right, thank you. I installed that fix.
---
Kenichi Handa
address@hidden