1067 |
@var{encoding-system} is the coding system for encoding (in case |
@var{encoding-system} is the coding system for encoding (in case |
1068 |
@var{operation} does encoding). |
@var{operation} does encoding). |
1069 |
|
|
1070 |
The argument @var{operation} should be a symbol, one of |
The argument @var{operation} should be a symbol, any one of |
1071 |
@code{insert-file-contents}, @code{write-region}, @code{call-process}, |
@code{insert-file-contents}, @code{write-region}, |
1072 |
@code{call-process-region}, @code{start-process}, or |
@code{start-process}, @code{call-process}, @code{call-process-region}, |
1073 |
@code{open-network-stream}. These are the names of the Emacs I/O primitives |
or @code{open-network-stream}. These are the names of the Emacs I/O |
1074 |
that can do coding system conversion. |
primitives that can do coding system conversion. |
1075 |
|
|
1076 |
The remaining arguments should be the same arguments that might be given |
The remaining arguments should be the same arguments that might be given |
1077 |
to that I/O primitive. Depending on the primitive, one of those |
to that I/O primitive. Depending on the primitive, one of those |
1081 |
target. For @code{open-network-stream}, the target is the service name |
target. For @code{open-network-stream}, the target is the service name |
1082 |
or port number. |
or port number. |
1083 |
|
|
1084 |
This function looks up the target in @code{file-coding-system-alist}, |
Depending on @var{operation}, this function looks up the target in |
1085 |
@code{process-coding-system-alist}, or |
@code{file-coding-system-alist}, @code{process-coding-system-alist}, |
1086 |
@code{network-coding-system-alist}, depending on @var{operation}. |
or @code{network-coding-system-alist}. |
1087 |
@end defun |
@end defun |
1088 |
|
|
1089 |
@node Specifying Coding Systems |
@node Specifying Coding Systems |