开发者

What escape character is \u000a

开发者 https://www.devze.com 2023-03-08 15:02 出处:网络
what escape 开发者_如何学JAVAcharacter is \\u000a I would like it to be a quotation mark, but this gigantic unicode table I looked at did not account for this oneWithout looking at a Unicode table

what escape 开发者_如何学JAVAcharacter is

\u000a

I would like it to be a quotation mark, but this gigantic unicode table I looked at did not account for this one


Without looking at a Unicode table I would say this is a Line Feed (ASCII 10).


Basically it's \n, nl = New line = \u000a in the ASCII table.

In Unicode it's a Line Feed:

  • Line Feed: LF = \n = \u000A

  • Carriage Return: CR = \r = \u000D

See: https://en.wikipedia.org/wiki/ASCII#Code_chart


With the little bit of research and my understanding I can say it is a 16-bit number so. And every 4 nibbles represent in between 0 to f, so coming to the question it is 000a right. The rightmost nibble represents "a" which has a value of 10 in decimal. So the answer would be 10.

0

精彩评论

暂无评论...
验证码 换一张
取 消