Skip to content

Commit

Permalink
+ find-charset-files
Browse files Browse the repository at this point in the history
  • Loading branch information
ActiveVolcano committed Mar 21, 2020
1 parent 2ac0ab1 commit d18b386
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions find-charset-files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Linux:
./find-charset-files.sh
```

# Further Development
It may be a good idea to support zip packages like *.zip, *.jar, *.docx, *.xlsx, *.pptx ...

- - - -

| Chinese | 中文 |
Expand All @@ -43,3 +46,6 @@ Linux:
```bash
./find-charset-files.sh
```

# 展望
后续可考虑支持 ZIP 压缩包,如*.zip、*.jar、*.docx、*.xlsx、*.pptx……
4 changes: 3 additions & 1 deletion find-charset-files/find-charset-files.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@echo off
if defined JAVA_HOME (
set JAVA=%JAVA_HOME%\bin\java
) else if defined JRE_HOME (
set JAVA=%JRE_HOME%\bin\java
) else (
set JAVA=java
)
%JAVA% -cp lib\commons-io-2.6.jar FindCharsetFiles.java
%JAVA% -cp lib\commons-io-2.6.jar FindCharsetFiles.java %*
2 changes: 1 addition & 1 deletion find-charset-files/find-charset-files.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/bash
java -cp lib/commons-io-2.6.jar FindCharsetFiles.java
java -cp lib/commons-io-2.6.jar FindCharsetFiles.java $*

0 comments on commit d18b386

Please sign in to comment.