| User: xuhuai5 -- 2008-07-02 << 209 211 >> |
| Hits: 2717 |
| Type: Character encoding |
| Search all Character encoding examples |
| Description: |
| how to convert a utf-16 txt file to ansii txt file? |
| Input Sample: |
| #include <stdio.h> #include <winsock2.h> #define PROC_BEGIN |
| Output Sample: |
| #include <stdio.h> #include <winsock2.h> #define PROC_BEGIN |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| The ansi encoding is your local default encoding type, usually it's gbk(cp936) for Chinese language. To convert text file from one encoding to another like UTF-16 to gbk, you just need to: 1. press Ctrl-B to open 'Batch Runner' dialog 2. click 'Pick Files' to select one or more files to convert 3. click 'Change Encode' button, set 'input encoding' to 'More Unicode->UTF-16', set 'output encoding' to 'CN->gbk' 4. click 'Start', done. |
Similar Examples: |
| How to convert/change a file from gbk to utf-8(utf8)? (60%) How to convert each line of a text file to the new format? (59%) How to convert the text from decimal to hex in a file? (56%) How to convert the text from hex to decimal in a file? (56%) How to convert a text file to specified format? (55%) How to convert many text files from encoding utf8 to utf8-BOM? (54%) How to change the direction of all sentences in a text file? (52%) How to sort a text file by the length of text in each line? (52%) |
Check Demo of Character encoding |
| Keywords: |
| utf16 txt utf16 to gbk gbk chinese ansi change encode unicode unicod encode utf text encoding gbk convert gbk to txt txt file gbk encoding convert from txt to gbk utf16 gbk text file encoding gbk convert txt to gbk open gbk file |