User: editor -- 2008-07-04 << 211 213 >> |
Hits: 11286 |
Type: Character encoding |
Search all Character encoding examples |
Description: |
How to batch convert many html files from gb2312 to utf-8? |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
Two things need to be done: * Change the encoding type from gb2312 to utf-8 * Change the file content such as charset=gb2312 to charset=utf-8 They can be done in one step, procedures: 1. ctrl-h open 'Replace' dialog 2. change file content in 'Replace' page: * set search for pattern to: * set replace with pattern to: 3. change file encoding select 'settings' page * set input encoding(at left bottom) to CN->euc_cn(gb2312) * set output encoding to utf-8 4. select files and do replace click 'Batch' to open 'Batch Runner' * click 'Pick files' to select one or multiple files * click 'Batch Replace' to replace all files, done! Note: 1. you can change output filename and directory if you like. 2. gb2312@ means gb2312 ignore cases, like GB2312, Gb2312, ... |
Download Script: scripts/212.rst.zip |
Similar Examples: |
How to convert/change a file from gbk to utf-8(utf8)? (79%) How to batch change many html files from iso-8859-1 to utf-8? (75%) How to convert many text files from encoding utf8 to utf8-BOM? (58%) How to change/convert encoding of xml files in all sub-directorys from unicode to utf8(utf-8)? (58%) How to convert many html files to text files all at once? (56%) How to batch change format of multiple files? (55%) How to convert multiple files from utf8 to GB2312? (53%) How to batch rename each html file to the title of the html file? (53%) |
Check Demo of Character encoding |
Keywords: |
gb2312 ignore 312 231 utf8 utf character encoding bottom batch convert encoding coding input file html change filename change multiple files html encoding html encoding gb2312 change file encoding for multiple files change multiple html files encoding change encoding for multiple files page encoding convert batch convert html gb2312 |