Downgoon Gbk2utf8 Versions Save

convert files from gbk encoding to utf-8 or rename packages including java source codes and any type configuration files

v0.1.1

7 years ago

Download (precompiled package)

  • for any platform: java jar

gbk2utf8-0.1.1-SNAPSHOT-all.tar.gz

  • only for mac

gbk2utf8-0.1.1.pkg

How to run

gbk to utf8

  • for any platform: java jar
tar zxvf gbk2utf8-0.1.1-SNAPSHOT-all.tar.gz
java -jar gbk2utf8-0.1.1-SNAPSHOT-all.jar $src-gbk-path $dst-utf8-path
for any help, run java -jar gbk2utf8-0.1.1-SNAPSHOT-all.jar
  • only for mac

double click gbk2utf8-0.1.1.pkg file:

double click gbk2utf8-0.1.1.pkg

it will be installed in /usr/local/gbk2utf8 directory and a softlink /usr/local/bin/gbk2utf8 (linking to /usr/local/gbk2utf8/bin/gbk2utf8) will be created. after that, you just run the following command in iTerm shell:

$ gbk2utf8
  • only for ubuntu
$ wget  https://github.com/downgoon/gbk2utf8/releases/download/v0.1.1/gbk2utf8_0.1.1_armhf.deb  # download
$ dpkg -i gbk2utf8_0.1.1_armhf.deb    # install

package rename

java -cp ./gbk2utf8-0.1.1-SNAPSHOT-all.jar io.downgoon.tools.PackageRename  <src-path> <dst-path> <original-package-prefix> <alternative-package-prefix>

v0.1.0

7 years ago

Download (precompiled package)

gbk2utf8-0.0.1-SNAPSHOT-all.tar.gz

How to run

  • tar zxvf gbk2utf8-0.0.1-SNAPSHOT-all.tar.gz
  • java -jar gbk2utf8-0.0.1-SNAPSHOT-all.jar $src-gbk-path $dst-utf8-path
  • for any help, run java -jar gbk2utf8-0.0.1-SNAPSHOT-all.jar

Hightlights

  • path recursive converting all necessary files in the specified path
  • encoding detective do nothing to files not encoded in GBK in specified path