|
@@ -13,6 +13,6 @@ func doCommand(cmd string) {
|
|
|
func main() {
|
|
|
// if diretory not exist, create it
|
|
|
doCommand("mkdir -p output")
|
|
|
- doCommand("libreoffice --headless --convert-to html *.doc --outdir output")
|
|
|
- doCommand("libreoffice --headless --convert-to html *.docx --outdir output")
|
|
|
+ doCommand("libreoffice --headless --convert-to html:XHTML Writer File:UTF8 *.doc --outdir output")
|
|
|
+ doCommand("libreoffice --headless --convert-to html:XHTML Writer File:UTF8 *.docx --outdir output")
|
|
|
}
|