Skip Menu |

This queue is for tickets about the XML-Smart CPAN distribution.

Report information
The Basics
Id: 76668
Status: resolved
Priority: 0/
Queue: XML-Smart

People
Owner: TMHARISH [...] cpan.org
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.6.9
Fixed in: (no value)



Subject: encoding declaration value should be emitted in upper case, ie: UTF-8 vs utf-8

Although the spec says that systems that interpret encoding declarations should be case insensitive, ( http://www.iana.org/assignments/character-sets ), it seems best to emit in upper-case, as the documentation I read says that is the "Official" name, and after all, "UTF" is an abbreviation, which /should/ be upper case.

 

https://en.wikipedia.org/wiki/UTF-8#Official_name_and_variants

http://utf8.com/

 

Its mostly a nit-pick, but consistency is a good thing.
Updated in 1.71 Thank you for your feedback.