- 533 名前:名無しさん@お腹いっぱい。 mailto:sage [2005/08/31(水) 09:25:32 ]
- テキストファイルを Emacs でバッチ処理して結果を stdout に吐きたいんです
が、 --- testout.el --- (defun testout (file) (insert-file-contents file) ;; なんか処理する とりあえずここではなにもしない (princ (buffer-string))) --- testout.el ends here --- emacs -Q --batch -l testout.el --execute='(testout "in.txt")' > out.txt とした時に、in.txt にある日本語が out.txt では化けてしまいます。(各文字 の頭に '\222' が付くみたい、ascii は大丈夫) ちゃんと動かすにはどうすりゃいいでしょうか。
|

|