Home | History | Annotate | Download | only in testdata
      1 # *******************************************************************************
      2 # * Copyright (C) 2007-2009, International Business Machines
      3 # * Corporation and others.  All Rights Reserved.
      4 # *******************************************************************************
      5 #
      6 # test1.ucm
      7 #
      8 # Test file for MBCS conversion with single-byte codepage data.
      9 # BMP-only, to test optimized code path.
     10 # Includes extensions.
     11 
     12 <code_set_name>     "test1bmp"
     13 <mb_cur_max>        1
     14 <mb_cur_min>        1
     15 <uconv_class>       "MBCS"
     16 <subchar>           \xff
     17 <icu:state>         0, 5-9, c:0.s, ff
     18 
     19 CHARMAP
     20 
     21 # fromUnicode result is zero byte from other than U+0000
     22 <U0040>     \x00 |0
     23 <U0061>     \x00 |1
     24 
     25 # nothing special
     26 <U0065>     \x05 |0
     27 
     28 # toUnicode result is fallback direct
     29 <U0066>     \x06 |3
     30 
     31 #unassigned \x09
     32 
     33 # 1:2 mapping
     34 <U0074>     \x07\x09 |0
     35 
     36 # 2:1 mapping
     37 <U0075><U0076> \x08 |0
     38 
     39 END CHARMAP
     40