Alex Ott <address@hidden> writes:
i have one problm with emacs-wiki with gnu emacs and windows. my
wiki is in utf-8, default coding systen is cp251. i set
file-coding-system-alist for wiki directory in utf-8 and files
open's normal, but when i use emacs-wiki-find-file, then page open's
in default encoding, not in utf-8. how i can debug them?
on linux - all works fine
Hmm. I'm not sure what's going on here, since emacs-wiki just calls
find-file to open the given file, and emacs-wiki-mode does not modify
the buffer's encoding. The emacs-wiki-charset-default and
emacs-wiki-coding-default options only deal with what coding system is
used when publishing a file.
It's a bit of a hack (and untested), but the following might do what
you want.
(add-hook 'emacs-wiki-mode-hook
#'(lambda ()
(set-buffer-file-coding-system 'utf-8)
;; changing the encoding causes buffer to appear modified
(set-buffer-modified-p nil)))
------------------------------------------------------------------------
_______________________________________________
emacs-wiki-discuss mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss