Some time ago, Hrvoje Niksic wrote...
|+
| "Kirill M. Katsnelson" <kkm(a)kis.ru> writes:
|
| > Buffer-local variable buffer-file-coding-system contains coding system
| > for the current buffer.
|
| True, but that variable doesn't exists for strings. For instance:
|
| (md5 "some Japanese text")
|
| This is what the CODING-SYSTEM argument and the guessing code is there
| for.
|-
This is what undecided streams are for, but the comment in md5 about
hit and miss is unfortunately rather correct...
coding-system-for-write is absolutely no friend of yours, 'cause it is
constantly nil, and can be nothing else.
Kirill