XML文件编码格式"utf-8" VS"UTF-8"? [英] XML file encoding format "utf-8" VS "UTF-8"?

查看:563
本文介绍了XML文件编码格式"utf-8" VS"UTF-8"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将XML文件转换为ASCII时.对于用户来说,在utfUTF这三个字符处的值是不同的.

When the XML file was convert to ASCII. It is different values for user at the three characters of utf and UTF.

<?xml version="1.0" encoding="utf-8"?>


<?xml version="1.0" encoding="UTF-8"?>

我试图用vs2005创建一个新的xml文件. utf-8表单文件默认生成.

I tried to create a new xml file with vs2005. utf-8 form file generated by default.

哪个是更标准的定义?谢谢.

which one is a more standard definition? thanks.

推荐答案

IANA字符集注册表说:

使用之间没有区别 大写和小写字母.

no distinction is made between use of upper and lower case letters.

但是该页面, XML规范

But that page, the XML specification, and unicode.org are consistent about capitalizing UTF-8.

这篇关于XML文件编码格式"utf-8" VS"UTF-8"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆