Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1011 B

  1. rem
  2. rem this file shows how to generate phon IME tables through following cmd
  3. rem
  4. rem input: phon.big5 ; Source Unicode file for Traditional Chinese
  5. rem phongb.txt ; Source (Ansi) Text file for Simplified Chinese
  6. rem
  7. rem MidFile: phon.gb ; Source Unicode file for Simplified Chinese
  8. rem phon.uni ; New Source Unicode file for both Trad & Simpli
  9. rem
  10. rem OutPut: phon.tbl ; generated Table Files.
  11. rem phonptr.tbl
  12. rem phoncode.tbl
  13. rem convert original Phon.big5 to append ' ' or '*' at the end of every line
  14. rem
  15. rem convold phon.big5 phon.tmp
  16. rem copy phon.tmp phon.big5
  17. rem del phon.tmp
  18. rem convert the txt gb file to unicode format file.
  19. convphon phongb.txt phon.gb
  20. rem sorting the new unicode file for simplified characters
  21. sortptbl phon.gb
  22. rem generate a new unicode file including Trad and Simpl chinese chars.
  23. gennpsrc phon.Big5 phon.GB phon.Uni
  24. rem generate the table files
  25. genptbl phon.uni Phon.tbl phonptr.tbl phoncode.tbl