UTF8 or UTF-8? [closed]

房东的猫 提交于 2019-11-28 21:04:21

That depends on where you use it...

The name of the encoding is UTF-8.

A dash is not valid to use everywhere, so for example in .NET framework the property of the System.Text.Encoding class that returns an instance of the UTF8Encoding class that handles the UTF-8 encoding is named UTF8.

It's definitely UTF-8. UTF8 is only used commonly in places where a dash is not allowed (programming language indentifiers) or because people are too lazy.

Following the RFC standard the answer is UTF-8

http://www.ietf.org/rfc/rfc3629

I believe according to the Unicode Consortium, it's UTF-8.

Also UTF-8 (great and thorough explanation of UTF-8)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!