Set default erc encoding to utf-8 because on Windows I have default coding - cp1251.
;; DO NOT EDIT COMMENT! TAG: resize-frame
;; Size of emacs area and its position.
(when window-system
;; This size for 1280x1024 resolusion and 13pt font to occupy almost all screen.
(run-at-time (format "%d sec" 1) nil '(lambda () (set-frame-position (selected-frame) 1 1)))
(run-at-time (format "%d sec" 2) nil '(lambda () (set-frame-width (selected-frame) 150 t)))
(run-at-time (format "%d sec" 3) nil '(lambda () (set-frame-height (selected-frame) 60 t)))
)