1 # ***************************************************************************
3 # * Copyright (C) 2004-2016, International Business Machines
4 # * Corporation; Unicode, Inc.; and others. All Rights Reserved.
6 # ***************************************************************************
11 # Copyright (c) 2005-2007,2010 Apple Inc., Unicode Inc.,
12 # and others. All Rights Reserved.
13 # For terms of use, see http://unicode.org/copyright.html#Exhibit1
14 # Convert between simplified and traditional Chinese
15 # UTRANS_FORWARD is from simplified to traditional
16 $SCDigit = [零一二三四五六七八九十百千万亿两] ;
17 $TCDigit = [零一二三四五六七八九十百千萬億兩] ;
19 # complex mappings for which there is no easy solution
20 # so we arbitrarily pick one
22 # does not handle the surnames 于 or 於
90 # Apple change moved 4 lines from here to further down
217 # 乾 appears in the most compounds
221 # Apple change modified a line here, moved some lines from above:
738 $SCDigit { 出 } 戏 → 齣;
1026 # first form is more common
1316 纤↔纖; # reading xian1
1317 纤←縴; # reading qian4
1319 # separate readings for po1 or po4 from pu2
1426 磨练←磨鍊; # train, drill
1700 # one-to-one mappings
1780 # Preserve 丰 for traditional in some cases
2322 # 沈 is a surname in hans and hant
2323 # 瀋 / 沈 meaning Shenyang
2338 墨渖未干↔墨瀋未乾; # 瀋 meaning liquid
2340 石沉大海↔石沈大海; # 沈 meaning sink
4155 # map some punctuation too