~ubuntu-branches/ubuntu/gutsy/icu/gutsy-updates

« back to all changes in this revision

Viewing changes to source/test/testdata/test3.ucm

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# *******************************************************************************
2
 
# * Copyright (C) 2001, International Business Machines
3
 
# * Corporation and others.  All Rights Reserved.
4
 
# *******************************************************************************
5
 
#
6
 
# test3.ucm
7
 
#
8
 
# Test file for MBCS conversion with three-byte codepage data.
9
 
 
10
 
<code_set_name>     "test3"
11
 
<mb_cur_max>        3
12
 
<mb_cur_min>        1
13
 
<uconv_class>       "MBCS"
14
 
<subchar>               \xff
15
 
<icu:state>             0, 1:1, 5-9, ff
16
 
<icu:state>             2:2
17
 
<icu:state>             a-f.p
18
 
 
19
 
CHARMAP
20
 
 
21
 
# fromUnicode result is zero byte from other than U+0000
22
 
<U20ac>     \x00 |0
23
 
 
24
 
# nothing special
25
 
<U0005>     \x05 |0
26
 
 
27
 
# toUnicode result is fallback direct
28
 
<U0006>     \x06 |3
29
 
 
30
 
# toUnicode result is direct non-BMP code point
31
 
<U101234>   \x07 |0
32
 
<Ufebcd>    \x08 |3
33
 
 
34
 
#unassigned \x09
35
 
 
36
 
# toUnicode result is surrogate pair: test real pair, single unit, unassigned
37
 
<U23456>    \x01\x02\x0a |0
38
 
<U000b>     \x01\x02\x0b |0
39
 
#unassigned \x01\x02\x0c
40
 
<U34567>    \x01\x02\x0d |3
41
 
<U000e>     \x01\x02\x0e |3
42
 
#unassigned \x01\x02\x0f
43
 
 
44
 
END CHARMAP