Alex Yu's Unicode utilities: Convert text between BIG5/Shift-JIS/Unicode-UCS/Unicode-UTF8, source code included. Requirement: 80386+ PC, MSDOS 5.0+, free memory 256KB This is a freeware. What's New: Much faster than the previous version. Much more memory required. All programs are DOS extended. Requires Borland's DOS extender to be run. ========================================================================== File descriptions: 2u8.exe the executable file to convert text into UTF8 form 2u8.pas the source code for 2u8.exe 2unicode.exe the executable file to convert text into Unicode 2unicode.pas the source code for 2unicode.exe b5comp.exe the program to complete "holes" remained in the Unicode to BIG5 conversion b5comp.pas the source code of b5comp.exe big52uni BIG5 to Unicode table (not yet compiled form) b5.tbl BIG5 to Unicode table, compiled by unitbl.exe cvbj.bat MSDOS batch file to convert BIG5 text to Shift-JIS one cvjb.bat MSDOS batch file to convert Shift-JIS text to BIG5 one (Note: these batch files shows how to co-operate with Sinocode.) fu8.exe the executable file to convert text from UTF8 fu8.pas the source code for fu8.exe funicode.exe the executable file to convert text from Unicode funicode.pas the source code of funicode.exe jis.tbl Shift-JIS to Unicode table, compiled by unitbl2.exe sjis Shift-JIS to Unicode table (not yet compiled form) u8toucs.exe UTF8 to Unicode-UCS(?) converter u8toucs.pas the source code of u8toucs.exe ucstou8.exe Unicode-UCS(?) to UTF8 converter ucstou8.pas the source code of ucstou8.exe unitbl2.exe BIG5/Shift-JIS to Unicode table compiler unitbl2.pas the source code of unitbl.exe utf.pas the source code for TP/BP UTF encoding/decoding unit ========================================================================== Note: For the tables for BIG5->Unicode & SJIS->Unicode have kanjis that are exactly the same words in different shapes and own different Unicode codes, it's difficult to have 2unicode/funicode to reach 100% perfect conversion between BIG5<->SJIS. Thus I wrote b5comp, as to complete holes remained in the conversion from SJIS->Unicode->BIG5, bying copy codes from the text converted by sinocode (from EUC->BIG5). You must have something to convert text between different JIS forms; but that's a easier work to do than to convert text from JIS to BIG5. ;-) The batch file CVJB.BAT included in this archive, requires a JIS code form converter (to convert between JIS/SJIS/EUC), which is named JIS (with source code available in C). As a result, it does a better conversion than sinocode from JIS to BIG5. In recent days, I'm interested in the conversion between UTF8 and UCS text, for UTF requires less space than UCS (2 bytes per character) and almost no conversion needed for ASCII characters in UTF, and, the most important reason is, that there is a newsgroup chinese.text.unicode, where, articles are posted in UTF form. The parameters for 2u8/fu8 are exactly the same as 2unicode/funicode. The unit UTF is just a translation from C to Pascal (the original C source is written by Ross Paterson) and optimized with 80386 instructions (well, BP7 cannot assemble 386 instructions......). 2u8/2unicode/fu8/funicode/b5comp/u8toucs/ucstou8/unitbl are written in Borland Pascal 7 and inline assembly. I don't response for any bugs in these programs. Though, you may contact me by sending e-mail to: s8153119@summer.nchu.edu.tw, s48153119@vax9k.nchu.edu.tw, alex@gate.fido.net.tw Fidonet netmail to 6:722/250, Alex Yu No blames, thanks. :-) By a Turbo Pascalist, Alex Yu, 01-03-1994