[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.
- md5, Simon Josefsson, 2000/10/07
- Re: md5,
Eli Zaretskii <=