This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello all, I seem to recall there was a specific reason for this content-type setting, but for the life of me I can't remember what it was for (or why it would be a global level). I changed this to UTF-8 (you may need to clear your browser cache to see a difference). Let me know if you need anything else! Cheers, Jennifer On Fri, 23 Mar 2012, Dave Allured wrote: > On Fri, Mar 23, 2012 at 1:50 PM, Unidata UDUNITS Support > <address@hidden> wrote: > > Dave, > > > >> There is at least one HTML error on the Udunits-2 home page that > >> prevents my browser from displaying UTF-8 characters correctly. This > >> is the page URL: > >> > >> http://www.unidata.ucar.edu/software/udunits/udunits-2/udunits2.html > >> > >> The fourth line of the current page header is this meta tag: > >> > >> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> > >> > >> This directive by itself forces certain browsers to interpret the page > >> text specifically as iso-8859-1 rather than UTF-8. This causes the > >> UTF-8 characters in the paragraph about non-ASCII support to be > >> displayed incorrectly as ISO-8859-1, thereby ruining the intent of the > >> example. > >> > >> Also note that this page currently gets about 32 errors and warnings > >> from the W3C validator for web pages. Some of these warnings may be > >> bogus because of the reported inability to determine a valid Document > >> Type. > >> > >> http://validator.w3.org/ > >> > >> I am no expert in web encoding, so I could be missing something. I do > >> not have a competent fix to offer. There may be more than one way to > >> do it. However, please note that the W3C validator offers detailed > >> information about fixing validation errors. > >> > >> Can you please try to fix the UTF-8 rendering on this web page? Thank you. > > > > Unfortunately, the specification of the iso-8859-1 character encoding isn't > > made by the UDUNITS-2 webpages but by our webserver which decorates them. > > I'll have to consult with our web master when she returns from vacation > > next month. Until then, please hold on. > > Steve, that is about what I expected. The request is for public > readability, not for me personally. Of course it can wait. > > >> --Dave A. > >> NOAA/PSD/CIRES > > > > Regards, > > Steve Emmerson > > > > Ticket Details > > =================== > > Ticket ID: IEU-208454 > > Department: Support UDUNITS > > Priority: Normal > > Status: Closed > > >