Saturday, November 05, 2011

Remove accent marks from filename in Vietnamese

(Gỡ bỏ dấu tiếng Việt trong tên tập tin)

This is a java code from http://khoinguonit.com/f80/[java]-doi-ten-file-tieng-viet-co-dau-thanh-khong-dau-1578/

  • It reads files from the input folder and then moves them to output. To make changes to files in the current directory, use . (dot) instead.
  • Online complier at http://www.innovation.ch/java/java_compile.html.
  • From console, run it by java Rename, or make a run.bat:
    @echo off
    java Rename

    pause
  • This code also changes upper cases into lower cases.