How would you create a string of all UTF-8 characters?

前端 未结 5 569
北海茫月
北海茫月 2021-01-02 20:11

There are many ways to represent the +1 million UTF-8 characters. Take the latin capital \"A\" with macron (Ā). This is unicode code point U+0100,

5条回答
  •  無奈伤痛
    2021-01-02 20:28

    :) of course last one wouldn't work. \x sequence belongs to the double-quoted strings.

    what's wrong with $char = chr(196).chr(128); ? with chr($a).chr($b) I mean.

提交回复
热议问题