emacs-devel
[Top][All Lists]
Advanced

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

Re: BIG5-HKSCS?


From: Kenichi Handa
Subject: Re: BIG5-HKSCS?
Date: Thu, 13 Nov 2003 18:01:36 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Simon Josefsson <address@hidden> writes:
> The HMAC-MD5 function seem to fail, causing my login attempts in Gnus
> to fail.  Reproduce it by:

> address@hidden:~/src/emacs-unicode/src$ ./emacs -q ../lisp/gnus/rfc2104.el

> then do M-x eval-buffer RET and try to evaluate some of the test
> vectors, the first one should give:

> (rfc2104-hash 'md5 64 16 "Jefe" "what do ya want for nothing?")
>  => "750c783e6ab0b503eaa86e310a5db738"

> With emacs-unicode I get "f898573306b1366f6edd841a9f5b2871".

Thank you for testing.  I've just installed a fix for
rfc2104.el.  I'd like to ask you to try it again.

This is a typical problem of emacs-unicode in which
characters 128..255 are valid Unicode characters, thus, for
instance, (concat '(?a ?\300)) returns a multibyte string of
`a' and `À'.  But in the current Emacs, it returns a unibyte
string.

I suspect the similar fix is necessary in several other
places.

> Is anyone using the emacs-unicode branch with Gnus?

At least, I'm not a Gnus user.  I'd like to ask people to
use emacs-unicode in various ways to find bugs.  What I can
test is limited, but, usually, I can fix them quite easily
like this case.

---
Ken'ichi HANDA
address@hidden




reply via email to

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