Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox saves UTF-8 source data as windows-1252 when using the Save Page As context menu

  • 1 reply
  • 0 have this problem
  • 93 views
  • Paskiausią atsakymą parašė mmccollum127

more options

When viewing UTF-8 encoded xml data in Firefox, if you right-click and select "Save Page As" and save the xml data to a file, Firefox converts the information from UTF-8 to windows-1252. Chrome/Edge don't have this problem. They can both save the data to a file with the UTF-8 encoding intact. This causes a problem when viewing IdP metadata and saving it from Firefox as the metadata gets changed during the file save process.

When viewing UTF-8 encoded xml data in Firefox, if you right-click and select "Save Page As" and save the xml data to a file, Firefox converts the information from UTF-8 to windows-1252. Chrome/Edge don't have this problem. They can both save the data to a file with the UTF-8 encoding intact. This causes a problem when viewing IdP metadata and saving it from Firefox as the metadata gets changed during the file save process.

Chosen solution

I found the answer for anyone else who comes across this. When the dialog opens to save the page as a file, it defaults to "Web Page, complete (*.xml). This saves the data as windows-1252 encoding. Hit the drop down for the "Save as type" and select "Web Page, XML only(*.xml)". This will save the data as UTF-8.

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (1)

more options

Chosen Solution

I found the answer for anyone else who comes across this. When the dialog opens to save the page as a file, it defaults to "Web Page, complete (*.xml). This saves the data as windows-1252 encoding. Hit the drop down for the "Save as type" and select "Web Page, XML only(*.xml)". This will save the data as UTF-8.