bb2bbc6b91
git-svn-id: svn://kolibrios.org@4364 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
574 B
Plaintext
34 lines
574 B
Plaintext
# *** Simple test:
|
|
#data decode STRICT
|
|
@䅂
|
|
#expected PARSERUTILS_OK
|
|
@䅂
|
|
#reset
|
|
|
|
# *** Surrogate test:
|
|
#data decode STRICT
|
|
��
|
|
#expected PARSERUTILS_OK
|
|
𐌂
|
|
#reset
|
|
|
|
# *** Lonely high surrogate:
|
|
# This is a bit strange that end status is ok.
|
|
#data decode STRICT
|
|
�
|
|
#expected PARSERUTILS_OK
|
|
#reset
|
|
|
|
# With an extra code point, the status is different.
|
|
#data decode STRICT
|
|
�䅂
|
|
#expected PARSERUTILS_INVALID
|
|
#reset
|
|
|
|
# *** Wrong low surrogate start:
|
|
#data decode STRICT
|
|
�
|
|
#expected PARSERUTILS_INVALID
|
|
#reset
|
|
|