Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Solution choisie

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.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (1)

more options

Solution choisie

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.