Changeset 93
- Timestamp:
- 03/18/04 22:13:39 (4 years ago)
- Files:
-
- 05/devel/doc/tutorial.html (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
05/devel/doc/tutorial.html
r92 r93 90 90 search pattern. 91 91 92 <li> New in 0.5j: <a href="#enco ndings">Support for character set encodings</a>92 <li> New in 0.5j: <a href="#encodings">Support for character set encodings</a> 93 93 (in particular encodings of Asian languages). The database list now also 94 94 lists, for each … … 215 215 the given pattern in the relevant region, no matter what else is on the board. 216 216 Of course, mirroring and rotating the board is automatically taken into account.<p> 217 <img src="onepixel.gif" width="600" height="20">218 217 219 218 <table border="0" width="100" cellpadding="6" align=RIGHT> … … 785 784 The default is to write them to the same directory as the SGF files they 786 785 are associated to. (This choice has to be made before adding the database; it's not 787 possible to change it, later.) 788 789 < b>Character encodings</b>786 possible to change it, later.)<p> 787 788 <p><b>Character encodings</b> 790 789 791 790 If your SGF files are not plain ASCII, but contain other characters, you have to 792 791 tell Kombilo in which way they are encoded in the file. The best way to do this 793 is to puta CA[] tag in the root node of the SGF file (e.g. CA[gb2312]). However,792 is with a CA[] tag in the root node of the SGF file (e.g. CA[gb2312]). However, 794 793 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 the794 tell Kombilo about the encoding when you process your SGF databases.</p> 795 796 <p>You have to know in which way your files are encoded, and all SGF files in the 798 797 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 798 encoding from the list, and choose what Kombilo should do with your SGF files.</p> 799 800 <p>- Do not change SGF: In this case, Kombilo will not touch your files. It will 801 remember the encoding of the files in this database however, so Kombilo 802 will know about the right encoding.</p> 803 804 <p>- Add CA tag: This will add a tag in the root node of the SGF file which contains 810 805 the encoding of this file. This is probably a good idea if you are sure that you 811 806 know the right encoding. (Right now, if you have Kombilo add a wrong CA tag, you 812 807 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 a816 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,808 present.)</p> 809 810 <p>- Transcode to utf-8: In this case Kombilo will replace the SGF file with a 811 transcoded version. CA tag?!</p> 812 813 <p>Note: If a file already has a CA tag, Kombilo will not touch it.</p> 814 815 <p>In order to use codecs for asian languages (like gb2312 or big5 for Chinese, 821 816 shift-jis for Japanese or euc-kr for Korean), you have to install the cjkcodecs 822 817 package. (In the Windows installer, this is already included.) … … 824 819 Mac OS X users it is available via fink. Otherwise, 825 820 you can get it at 826 <a href="http://cjkpython.berlios.de/">http://cjkpython.berlios.de/</a>. 821 <a href="http://cjkpython.berlios.de/">http://cjkpython.berlios.de/</a>.</p> 827 822 828 823 … … 1694 1689 1695 1690 <HR> 1696 <i>Last modified: 1 5-December-2002</i>1691 <i>Last modified: 16-March-2004</i> 1697 1692 Contact: <a href="mailto:u@g0ertz.de">u@g0ertz.de</a>. 1698 1693 To my <a href="http://www.g0ertz.de/">homepage</a>.
