forked from KolibriOS/kolibrios
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
|
||
|
|