evil-qemacs/tests/NonBMP1.utf8
Charlie Gordon 7e70e611b6 Use char32_t for all code point variables and arrays
- char32_t is defined in cutils.h but may conflict with <uchar.h>
- all qe_isxxx functions take a char32_t
- add etf8x encoding for full range of char32_t type
- add utf8_decode_strict()
- add ustr_match_keyword()
- utf8_encode() / utf8_decode() handle up to 32 bits
- improve detect_charset():
  - detect utf8 and utf8x
  - avoid failure on partial utf8 sequence at end of buffer
  - detect overlong utf8 sequences
- fix display bugs for code points beyond MAX_UNICODE_DISPLAY
- simplify do_compare_windows(), avoid magic char values.
- rename functions:
    eb_encode_uchar -> eb_encode_char32
    eb_insert_uchar -> eb_insert_char32
    eb_insert_uchars -> eb_insert_char32_n
    eb_match_uchar -> eb_match_char32
    eb_delete_uchar -> eb_delete_char32
    eb_replace_uchar -> eb_replace_char32
    utf8_to_unicode -> utf8_to_char32
- use char32_t for all variables and arrays holding code-points
- fix some language syntax parsers.
- fix detect_eol_type_32bit(), used uint16_t instead of uint32_t
- bump VERSION to 5.4.0
2022-10-29 19:43:38 +02:00

13 lines
359 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

************ Non BMP1 characters ****************
<EFBFBD>€€<EFBFBD>€Å逗を逗<EFBFBD>涸ソ<EFBFBD>=
<EFBFBD>€€<EFBFBD>€€<EFBFBD>€€<EFBFBD>€€<EFBFBD>ソソ
<EFBFBD>€€
************ Non Unicode glyphs ****************
<EFBFBD>€€<EFBFBD>€€<EFBFBD>€€<EFBFBD>ソソ
<EFBFBD>€€€<EFBFBD>€€€<EFBFBD>€€€<EFBFBD>ソソソ
<EFBFBD>€€€兤€€€<EFBFBD>€€€€<EFBFBD>€€€€
<EFBFBD>€€€€<EFBFBD>€€€€<EFBFBD>€€€€€<EFBFBD>ソソソソソ
<EFBFBD>€€<EFBFBD>ソソ<EFBFBD>€€€<EFBFBD>€€€<EFBFBD>€€€
<EFBFBD>€€€€<EFBFBD>€€€€<EFBFBD>€€€€€<EFBFBD>ソソソソソ<EFBFBD>€€€€€
<EFBFBD>ソソソソソ<EFBFBD>€€€€€<EFBFBD>ソソソソソ
<EFBFBD>ー€€€€<EFBFBD>ソソー€€<EFBFBD>ソソソシ€<EFBFBD>ソソソソー<EFBFBD>ソソソソシ<EFBFBD>ソソソソス<EFBFBD>ソソソソセ<EFBFBD>ソソソソソ