| | 789 | <b>Character encodings</b> |
|---|
| | 790 | |
|---|
| | 791 | If your SGF files are not plain ASCII, but contain other characters, you have to |
|---|
| | 792 | tell Kombilo in which way they are encoded in the file. The best way to do this |
|---|
| | 793 | is to put a CA[] tag in the root node of the SGF file (e.g. CA[gb2312]). However, |
|---|
| | 794 | since there are many SGF files out there without the correct tag, you can also |
|---|
| | 795 | tell Kombilo about the encoding when you process your SGF databases. |
|---|
| | 796 | |
|---|
| | 797 | You have to know in which way your files are encoded, and all SGF files in the |
|---|
| | 798 | directory which is to be processed have to have the same encoding. Choose the |
|---|
| | 799 | encoding from the list, and choose what Kombilo should do with your SGF files. |
|---|
| | 800 | |
|---|
| | 801 | - Do not change SGF: In this case, Kombilo will not touch your files. It will |
|---|
| | 802 | remember the encoding of the files in this database however, so the Kombilo |
|---|
| | 803 | core functions will know about the right encoding (in particular the game list, |
|---|
| | 804 | and the small window with the game info of the currently selected game, below |
|---|
| | 805 | the game list). When you double-click the game to play through it, the encoding |
|---|
| | 806 | is not known to the part of the program which deals with SGF editing etc. |
|---|
| | 807 | (CHANGE THIS?!?!??!) |
|---|
| | 808 | |
|---|
| | 809 | - Add CA tag: This will add a tag in the root node of the SGF file which contains |
|---|
| | 810 | the encoding of this file. This is probably a good idea if you are sure that you |
|---|
| | 811 | know the right encoding. (Right now, if you have Kombilo add a wrong CA tag, you |
|---|
| | 812 | will have to remove it manually, because Kombilo will always obey a CA tag if |
|---|
| | 813 | present.) |
|---|
| | 814 | |
|---|
| | 815 | - Transcode to utf-8: In this case Kombilo will replace the SGF file with a |
|---|
| | 816 | transcoded version. CA tag?! |
|---|
| | 817 | |
|---|
| | 818 | Note: If a file already has a CA tag, Kombilo will not touch it. |
|---|
| | 819 | |
|---|
| | 820 | In order to use codecs for asian languages (like gb2312 or big5 for Chinese, |
|---|
| | 821 | shift-jis for Japanese or euc-kr for Korean), you have to install the cjkcodecs |
|---|
| | 822 | package. (In the Windows installer, this is already included.) |
|---|
| | 823 | This package may be available as a package in your Linux distribution; for |
|---|
| | 824 | Mac OS X users it is available via fink. Otherwise, |
|---|
| | 825 | you can get it at |
|---|
| | 826 | <a href="http://cjkpython.berlios.de/">http://cjkpython.berlios.de/</a>. |
|---|
| | 827 | |
|---|
| | 828 | |
|---|