| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 9503|Reply: 5
Collapse the left

How to change encoding for multiple files

[Copy link]

 Russia

Post time: 2012-02-09 09:24
| Show all posts |Read mode
When working with a localization of alien programs, it is often required to change encoding (charset used) for many files at a time.

For example, you have downloaded the Simplified Chinese package,
but you want to convert the language files encoding from GBK (gb-2312) to UTF-8.

What the tools can be used for batch file recoding?

I tried a couple of converters, but all of them have some disadvantages:
incorrect conversion, or no batch mode, or no file saving, or limited number of files...

For examle there is a free "51ECShop Template Transcoder v.1.0" by 51ecshop.net:

http://bbs.ecshop.com/viewthread.php?tid=101148

Disadvantages:
1) Chinese interface language
2) Incorrect resulting encoding




 Palestine

Post time: 2012-02-09 12:57
| Show all posts
Replace Pioneer the best !

 Russia

 Author| Post time: 2012-02-09 13:33
| Show all posts
Replace Pioneer is a paid product.
Trial version have limitations.
Post time: 2012-02-09 14:56
| Show all posts
I found a free for non commercial use soft:

http://www.softpedia.com/get/Science-CAD/UTF-8-converter.shtml

I noticed one disadvantage: it can't search for files (to convert) inside folders, you have to select files. but it I think it's working great.

I couldn't find better.

 Russia

 Author| Post time: 2012-02-09 15:17
| Show all posts
This utility converts my files incorrectly.
I.e.:
Was:
'article_name' => '门户 文章广告', // in GBK encoding)
Became:
'article_name' => 'ГЕ»§ ОДХВ№гёж', // in UTF-8 + BOM !!!!!
Post time: 2012-02-09 15:31
| Show all posts
vot replied at 2012-2-9 12:17
This utility converts my files incorrectly.
I.e.:
Was:

I'm sorry for that
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-05-05 13:50 GMT+3 , Processed in 0.066485 sec., 12 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list