RE: XML files served by Azure Websites
All good thanks folks. I think that was just feedvalidator being picky. I still had an issue with iTunes though as they now require byte range support. That required changing the headers in Azure storage, which does support them but reports that it doesn’t if you’re on the old API. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com/> |http://greglow.me<http://greglow.me/> From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of noonie Sent: Wednesday, 1 March 2017 8:10 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites Greg, This discussion:- http://stackoverflow.com/questions/4832357/whats-the-difference-between-text-xml-vs-application-xml-for-webservice-respons Seems to indicate that it's more a client issue. Your server response header is setting the content type to text/xml but not the charset but and though that should be good enough for modern clients, that read the xml document encoding and honour it, some might still use the default us-ascii. It may be possible that the feed validator is is just being "picky". IIS should let you set the charset on that content type so the feed validates. https://forums.iis.net/t/1155439.aspx -- noonie On 1 March 2017 at 19:04, Greg Low (罗格雷格博士) <g...@greglow.com<mailto:g...@greglow.com>> wrote: But that still leaves the question on how to change that. It's just serving up a static xml file. How is the content type for that specified? And more importantly, where? Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 5:32:06 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Just looked at feedvalidator.org<http://feedvalidator.org> . Look at the help link: http://www.feedvalidator.org/docs/warning/EncodingMismatch.html your site is serving up response content type: text/xml From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 4:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites Yes I did think BOM was on UTF-16. Either way, issue seems to be the header from the site. No idea where to set it. I'm suspecting that the lack of a value probably sends this as a default. Can't find ASCII mentioned anywhere in project files. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 3:05:00 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
Greg, This discussion:- http://stackoverflow.com/questions/4832357/whats-the-difference-between-text-xml-vs-application-xml-for-webservice-respons Seems to indicate that it's more a client issue. Your server response header is setting the content type to text/xml but not the charset but and though that should be good enough for modern clients, that read the xml document encoding and honour it, some might still use the default us-ascii. It may be possible that the feed validator is is just being "picky". IIS should let you set the charset on that content type so the feed validates. https://forums.iis.net/t/1155439.aspx -- noonie On 1 March 2017 at 19:04, Greg Low (罗格雷格博士) <g...@greglow.com> wrote: > But that still leaves the question on how to change that. It's just > serving up a static xml file. How is the content type for that specified? > And more importantly, where? > > Regards, > > Greg > > Dr Greg Low > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 > fax > SQL Down Under | Web: www.sqldownunder.com > > -- > *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on > behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> > *Sent:* Wednesday, March 1, 2017 5:32:06 PM > > *To:* ozDotNet > *Subject:* RE: XML files served by Azure Websites > > > Just looked at feedvalidator.org . Look at the help link: > > http://www.feedvalidator.org/docs/warning/EncodingMismatch.html > > > > your site is serving up response content type: text/xml > > > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *Greg Low (??) > *Sent:* Wednesday, 1 March 2017 4:55 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: XML files served by Azure Websites > > > > Yes I did think BOM was on UTF-16. Either way, issue seems to be the > header from the site. No idea where to set it. I'm suspecting that the lack > of a value probably sends this as a default. Can't find ASCII mentioned > anywhere in project files. > > Regards, > > Greg > > Dr Greg Low > 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 > fax > SQL Down Under | Web: www.sqldownunder.com > > > -- > > *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on > behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> > *Sent:* Wednesday, March 1, 2017 3:05:00 PM > *To:* ozDotNet > *Subject:* RE: XML files served by Azure Websites > > > > Thought it was the other way around and that BOM was unnecessary for > utf-8. > > To me Greg’s problem looks like the server is sending a response block > saying the content type is asci, then send an xml file which is utf-8. > Would have to do old school spit out bytes to test as I doubt any text > editor would permit the file to be saved as ascii as it would be invalid > ascii file > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-bounces@ > ozdotnet.com <ozdotnet-boun...@ozdotnet.com>] *On Behalf Of *David Connors > *Sent:* Wednesday, 1 March 2017 2:55 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: XML files served by Azure Websites > > > > On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au> > wrote: > > The file itself is utf-8, or unicode due to special characters in it, eg > Lòpez > > So problem is not with the file. > > > > No, a UTF-8 stream is defined as such by a byte order marker at the start > of the stream. You can have UTF-8 files composed entirely of ASCII > characters. > > > > -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 > <+61%20417%20189%20363> > > -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 >
RE: XML files served by Azure Websites
Can you browse to the static file store on azure and change it’s content type in the properties dialog ? From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 7:05 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites But that still leaves the question on how to change that. It's just serving up a static xml file. How is the content type for that specified? And more importantly, where? Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 5:32:06 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Just looked at feedvalidator.org . Look at the help link: http://www.feedvalidator.org/docs/warning/EncodingMismatch.html your site is serving up response content type: text/xml From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 4:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites Yes I did think BOM was on UTF-16. Either way, issue seems to be the header from the site. No idea where to set it. I'm suspecting that the lack of a value probably sends this as a default. Can't find ASCII mentioned anywhere in project files. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 3:05:00 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
But that still leaves the question on how to change that. It's just serving up a static xml file. How is the content type for that specified? And more importantly, where? Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> Sent: Wednesday, March 1, 2017 5:32:06 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Just looked at feedvalidator.org . Look at the help link: http://www.feedvalidator.org/docs/warning/EncodingMismatch.html your site is serving up response content type: text/xml From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 4:55 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites Yes I did think BOM was on UTF-16. Either way, issue seems to be the header from the site. No idea where to set it. I'm suspecting that the lack of a value probably sends this as a default. Can't find ASCII mentioned anywhere in project files. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 3:05:00 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
RE: XML files served by Azure Websites
Just looked at feedvalidator.org . Look at the help link: http://www.feedvalidator.org/docs/warning/EncodingMismatch.html your site is serving up response content type: text/xml From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 4:55 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites Yes I did think BOM was on UTF-16. Either way, issue seems to be the header from the site. No idea where to set it. I'm suspecting that the lack of a value probably sends this as a default. Can't find ASCII mentioned anywhere in project files. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> <ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> Sent: Wednesday, March 1, 2017 3:05:00 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
Yes I did think BOM was on UTF-16. Either way, issue seems to be the header from the site. No idea where to set it. I'm suspecting that the lack of a value probably sends this as a default. Can't find ASCII mentioned anywhere in project files. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com> From: ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on behalf of Bill McCarthy <bill.mccarthy.li...@live.com.au> Sent: Wednesday, March 1, 2017 3:05:00 PM To: ozDotNet Subject: RE: XML files served by Azure Websites Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
RE: XML files served by Azure Websites
Thought it was the other way around and that BOM was unnecessary for utf-8. To me Greg’s problem looks like the server is sending a response block saying the content type is asci, then send an xml file which is utf-8. Would have to do old school spit out bytes to test as I doubt any text editor would permit the file to be saved as ascii as it would be invalid ascii file From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:55 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 13:41 Bill McCarthy <bill.mccarthy.li...@live.com.au<mailto:bill.mccarthy.li...@live.com.au>> wrote: The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
On Wed, 1 Mar 2017 at 13:41 Bill McCarthywrote: > The file itself is utf-8, or unicode due to special characters in it, eg > Lòpez > > So problem is not with the file. > No, a UTF-8 stream is defined as such by a byte order marker at the start of the stream. You can have UTF-8 files composed entirely of ASCII characters. -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 > <+61%20417%20189%20363> > -- David Connors da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363
RE: XML files served by Azure Websites
feedvalidator.org Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com/> |http://greglow.me<http://greglow.me/> From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:19 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites What validator are you using? On Wed, 1 Mar 2017 at 13:11 Greg Low (罗格雷格博士) <g...@greglow.com<mailto:g...@greglow.com>> wrote: I resaved the file, specifying the UTF-8 encoding, but still says the same. I think the file already was but perhaps not. Here’s the link: http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410<tel:+61%20419%20201%20410> mobile│ +61 3 8676 4913<tel:+61%203%208676%204913> fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com/> |http://greglow.me<http://greglow.me/> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com>] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:05 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 12:44 Greg Low (罗格雷格博士) <g...@greglow.com<mailto:g...@greglow.com>> wrote: Our podcast feed is served as an XML file from our Azure website. Feed validator returns this: Your feed appears to be encoded as "UTF-8", but your server is reporting "US-ASCII" Is the file actually UTF-8 or is it an ASCII file that has a UTF-8 attribute in the XML definition. There should be a byte order mark at the start of the file. David. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363<tel:+61%20417%20189%20363> -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
RE: XML files served by Azure Websites
The file itself is utf-8, or unicode due to special characters in it, eg Lòpez So problem is not with the file. From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (??) Sent: Wednesday, 1 March 2017 2:12 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: RE: XML files served by Azure Websites I resaved the file, specifying the UTF-8 encoding, but still says the same. I think the file already was but perhaps not. Here’s the link: http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com/> |http://greglow.me<http://greglow.me/> From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:05 PM To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 12:44 Greg Low (罗格雷格博士) <g...@greglow.com<mailto:g...@greglow.com>> wrote: Our podcast feed is served as an XML file from our Azure website. Feed validator returns this: Your feed appears to be encoded as "UTF-8", but your server is reporting "US-ASCII" Is the file actually UTF-8 or is it an ASCII file that has a UTF-8 attribute in the XML definition. There should be a byte order mark at the start of the file. David. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
What validator are you using? On Wed, 1 Mar 2017 at 13:11 Greg Low (罗格雷格博士) <g...@greglow.com> wrote: > I resaved the file, specifying the UTF-8 encoding, but still says the > same. I think the file already was but perhaps not. > > > > Here’s the link: http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml > > > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* ozdotnet-boun...@ozdotnet.com [mailto: > ozdotnet-boun...@ozdotnet.com] *On Behalf Of *David Connors > *Sent:* Wednesday, 1 March 2017 2:05 PM > *To:* ozDotNet <ozdotnet@ozdotnet.com> > *Subject:* Re: XML files served by Azure Websites > > > > On Wed, 1 Mar 2017 at 12:44 Greg Low (罗格雷格博士) <g...@greglow.com> wrote: > > Our podcast feed is served as an XML file from our Azure website. Feed > validator returns this: > > > > Your feed appears to be encoded as "UTF-8", but your server is reporting > "US-ASCII" > > > > > > Is the file actually UTF-8 or is it an ASCII file that has a UTF-8 > attribute in the XML definition. There should be a byte order mark at the > start of the file. > > > > > > David. > > > > -- > > David Connors > da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363 > <+61%20417%20189%20363> > -- David Connors da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363
RE: XML files served by Azure Websites
I resaved the file, specifying the UTF-8 encoding, but still says the same. I think the file already was but perhaps not. Here’s the link: http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com<http://www.sqldownunder.com/> |http://greglow.me<http://greglow.me/> From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of David Connors Sent: Wednesday, 1 March 2017 2:05 PM To: ozDotNet <ozdotnet@ozdotnet.com> Subject: Re: XML files served by Azure Websites On Wed, 1 Mar 2017 at 12:44 Greg Low (罗格雷格博士) <g...@greglow.com<mailto:g...@greglow.com>> wrote: Our podcast feed is served as an XML file from our Azure website. Feed validator returns this: Your feed appears to be encoded as "UTF-8", but your server is reporting "US-ASCII" Is the file actually UTF-8 or is it an ASCII file that has a UTF-8 attribute in the XML definition. There should be a byte order mark at the start of the file. David. -- David Connors da...@connors.com<mailto:da...@connors.com> | @davidconnors | LinkedIn | +61 417 189 363
Re: XML files served by Azure Websites
On Wed, 1 Mar 2017 at 12:44 Greg Low (罗格雷格博士)wrote: > Our podcast feed is served as an XML file from our Azure website. Feed > validator returns this: > > > > Your feed appears to be encoded as "UTF-8", but your server is reporting > "US-ASCII" > Is the file actually UTF-8 or is it an ASCII file that has a UTF-8 attribute in the XML definition. There should be a byte order mark at the start of the file. David. -- David Connors da...@connors.com | @davidconnors | LinkedIn | +61 417 189 363