
Export and import functionality allows you to move all Chinese Toolbox FREE data out of and into the program respectively. There’s a number of reasons why you might want to utilize this functionality.
If you’re already familiar with concepts discussed in this tutorial, you may not need to read all of this. To save you a little time, here is a summary of the main points:
If any of this is unclear, proceed with the remainder of this tutorial. Clicking on any of the screen shots below will display the full-size image in your browser.
First, the export functionality:
Exporting is the easy part. Just point to and click on the “Export character dictionary” menu item under the File menu. The export process takes only a few seconds. When finished, a new file will exist in the Chinese Toolbox documents directory. On my computer (running Vista Home Basic), this file appears in the c:\Users\atsherrill\Documents\Chinese Toolbox\ directory. The screen shot below shows the new CharacterDictionary.txt file.
Note that the program will always write the export data to a CharacterDictionary.txt file in the Chinese Toolbox documents directory. If this file already exists, the next export will overwrite the original CharacterDictionary.txt without any warning. So before you export a second time, rename any existing export file to something other than CharacterDictionary.txt.
In this tutorial, I use Microsoft Excel 2003 to remove columns containing dictionary data only, leaving only “character understanding” and “need to learn” data. After saving the new file in the proper format, it can be moved to another computer. However, Excel 2003 cannot write text files in UTF-8 format. The only Unicode format supported by Excel 2003 is UTF-16. So after saving the file in Excel, I’ll need to use another program to convert it to UTF-8 format. Let’s get started.
First, click on the Open menu item under the Excel File menu. The Excel Open dialog will appear. Select the CharacterDictionary.txt file in the Chinese Toolbox document directory as shown below, and click on the Open button.
The Excel import wizard will display three dialogs, one after the other. In the first, select “Delimited” for the file type and “65001 : Unicode (UTF-8)” for the file origin, as shown below:
At the second import wizard dialog (below), just click the Next button. The “Tab” checkbox should already be checked. If it isn’t, check it.
At the third import wizard dialog (below), you likewise shouldn’t need to make any changes. Just click on the Finish button.
After a few seconds, Excel will display the dictionary file in its window. After a little formatting (wrapping text and widening columns), the Excel window appears as follows:
At this point the columns unrelated to your understanding of characters can be removed. You should be left with the following:
Now save this file in Unicode format. Select “Save As” from the Excel File menu. The following will appear:
Click the Save button, and the following dialog will appear requesting overwrite confirmation.
Click the “Yes” button, then at the following dialog click “Yes” to confirm writing of the file in Unicode format.
At this point you can close Excel. When you do so, Excel will present the following dialog:
This appears because the file has not been saved in the native Excel spreadsheet format. At this dialog, click “No” to confirm that you do not want to save the file again.
CharacterDictionary.txt now contains character understanding data and need to learn data from the original Chinese Toolbox FREE dictionary. However, the file is not yet in the proper format. It still needs to be converted from one Unicode format to another, that is, from UTF-16 to UTF-8. A number of free Unicode text editors are available from various download sites. Two that work for me are BabelPad and TxtEdit. At the time of this writing, the BabelStone web site was down. Just do a search; BabelPad is available from several software download sites.
After you convert the file to UTF-8 format, you’re ready to copy the file to another computer running Chinese Toolbox FREE. Just place the file, CharacterDictionary.txt, in the Chinese Toolbox documents directory on the second computer. Start up Chinese Toolbox FREE, and click on File, then “Import character dictionary. The program will automatically shut down when the import is complete. Start Chinese Toolbox FREE again to begin using it with the updated character understanding data.