What does it mean to say “Java Modified UTF-8 Encoding”?

前端 未结 3 1906
Happy的楠姐
Happy的楠姐 2020-12-03 12:17

What does it mean to say \"Java Modified UTF-8 Encoding\" ? How is it different from normal UTF-8 Encoding?

3条回答
  •  青春惊慌失措
    2020-12-03 12:29

    Probably this: http://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8

    "In normal usage, the Java programming language supports standard UTF-8 when reading and writing strings through InputStreamReader and OutputStreamWriter. However it uses Modified UTF-8 for object serialization, for the Java Native Interface, and for embedding constant strings in class files."

提交回复
热议问题