[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode handling breaks Jpeg image detection?
From: |
Kenichi Handa |
Subject: |
Re: Unicode handling breaks Jpeg image detection? |
Date: |
Fri, 04 Jul 2008 16:20:26 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
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 "$(D+#(B" (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'.
---
Kenichi Handa
address@hidden
- Re: Unicode handling breaks Jpeg image detection?,
Kenichi Handa <=