XML file encoding format “utf-8” VS “UTF-8”?

后端 未结 5 1458
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 15:45

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



        
5条回答
  •  星月不相逢
    2021-02-01 16:11

    In my experience (which is primarily with .NET), character set identifiers are treated as case-insensitive, so UTF-8 and utf-8, as well as Utf-8 or any other variation thereof, always mean the same thing. This would also be the case for other character sets, such as ISO-8859-1 (Latin 1), etc. The casing should not matter, as case is not a meaninful factor in such an identifier.

    I do extensive work with web services across multiple platforms, and I have never really seen a "standard" form used. I've seen every variation of a variety of character sets...often different variations from a single business partner.

提交回复
热议问题