iconv -f euc-kr -t utf-8 EUC-KR.SMI > UTF-8.SMI

Simple? Isn’t it?

 

I use ffmpeg in order to convert a file from avi to mp4 format.1 In my case, I use cygwin in Windows PC and svn for download the ffmpeg, and compile it.

Once ffmpeg is installed, you can do like following to convert a file from avi to mp4 (H.264).

ffmpeg -i a.avi a.mp4
 

* Note that this works with emacs 22.2 windows version.

  1. Load a document
  2. M-x mm-set-buffer-file-coding-system
  3. Select language type (For example, euc-kr or utf-8)
  4. Check the buffer encoding type
  5. Sava a document by C-x s or M-x write-file

Make sure that “(setq coding-system-for-write           ‘utf-8)” should not be set in .emacs. If that, it will write it utf-8 always.

 

February 2012
S M T W T F S
« Jan    
 1234
567891011
12131415161718
19202122232425
26272829  

Follow Me

© 2011 Bread & Cup Suffusion theme by Sayontan Sinha