Theory and Practice
About Archives Categories Tags Authors 中文 ไทย
  1. Tags
  2. iconv command

[Golang] Auto-Detect and Convert Encoding of HTML to UTF-8

October 27, 2018

Given an URL, auto-detect and convert the encoding of the HTML document to UTF-8 if it is not UTF-8 encoded in Go.

 read more »

[Golang] Determine Encoding of HTML Document

October 26, 2018

Given an URL, determine the encoding of the HTML document in Go using golang.org/x/net/html and golang.org/x/text packages.

 read more »

goquery Handle Non-UTF8 HTML Web Page

October 09, 2018

Read non-utf8 webpage with goquery if the charset of the page is known.

 read more »

[Bash] Process HTML Files Format in Volumn

April 26, 2016

Convert the format (Big5 encoding to UTF-8, remove DOS newline in file, replace string big5 with UTF-8, and append UNIX newline to end of file) of HTML files in directory via Bash script.

 read more »

[Bash] Encoding Conversion, Newline Manipulation, String Replacement of File

April 20, 2016

Convert encoding of file from Big5 to UTF-8, remove DOS newline in file, replace string big5 with UTF-8, and append UNIX newline to end of file.

 read more »

[Golang] Convert File Encoding From Big5 to UTF-8

March 21, 2016

Convert file encoding from Big5 to UTF-8 via Go programming language.

 read more »

[Bash] Convert Files in Directory From Big5 to UTF-8

March 18, 2016

Convert all files in a directory recursively (i.e., including subdirectories of the directory) from Big5 encoding to UTF-8 via iconv command.

 read more »
Powered by Github Pages, Pelican, pyScss.