emacs-devel
[Top][All Lists]
Advanced

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

Re: md5


From: Eli Zaretskii
Subject: Re: md5
Date: Sun, 08 Oct 2000 06:57:32 +0200

> From: Simon Josefsson <address@hidden>
> Date: 07 Oct 2000 22:58:12 +0200
> 
> Optionally, a coding system can also be passed to the function to make
> it explicitly encode data into this coding system before calculating
> md5.  If no coding system is passed, md5 should "guess" what coding
> system to use.

One approach you could use is like that used by write-region: it uses
coding-system-for-write if it's non-nil, otherwise it uses
buffer-file-coding-system, and if that is nil, it calls
find-operation-coding-system, and, if that doesn't help either, it
finally uses the default value of buffer-file-coding-system.

See Fwrite_region on fileio.c, for more details.



reply via email to

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