News:

Join the Facebook Fan Page.

Main Menu

UTF-8 Conversion

Started by Harzem, September 24, 2006, 10:11:08 AM

Previous topic - Next topic

Harzem

Hi,

When installing a modification manually to other languages, we need to paste strings to the language file. Then save it. But if the language is UTF-8, we can't save properly and it creates weird errors. (I've seen this in Advanced Visual Verification Mod).

Thus, the good solution is to save the file in ANSI, then convert to UTF-8 manually.

Now the question comes: how can I convert a file to UTF-8?

Harzem

#1
Ok, found the solution myself. For reference to anyone who has problems with UTF-8 language files:

use "Notepad++" to edit the files.
http://sourceforge.net/projects/notepad-plus
download: http://sourceforge.net/project/showfiles.php?group_id=95717

1. Open the file you'll edit.

2. Be sure that "Format > Encode in ANSI" is selected.

3. Make sure "Format > UTF-8 without BOM" is selected. Now everything should look normal and readable.

4. Make any edits you want on the file.

5. Un-Select "Format > UTF-8 without BOM". Now the non-english characters should look weird.

6. Save the file. Now you have an UTF-8 encoded file.





Advertisement: