[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode handling breaks Jpeg image detection?
From: |
Stephen Berman |
Subject: |
Re: Unicode handling breaks Jpeg image detection? |
Date: |
Fri, 04 Jul 2008 10:40:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On Fri, 04 Jul 2008 16:20:26 +0900 Kenichi Handa <address@hidden> wrote:
> Sorry for the late response.
>
> In article <address@hidden>, Stephen Berman <address@hidden> writes:
>
>> This fix results in a file mode specification error. To reproduce:
>> 1. C-x C-f /tmp/test
>> 2. Type the letter "รค" (a-umlaut).
>> 3. C-x C-s
>> 4. C-x k RET
>> 5. C-x C-f /tmp/test
>> ==> File mode specification error: (error "Can't convert the 0th
>> character to unibyte")
>
> It seems that this bug is already fixed by Juanma (thanks).
>
> 2008-06-27 Juanma Barranquero <address@hidden>
>
> * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
> to unibyte; just assume it is not a JPEG. Use `string-match-p'.
> (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
> (image-type-from-buffer): Use `looking-at-p'.
Yes, I saw that. Thanks from me too.
Steve Berman