Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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

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.

Valgt løsning

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.

Læs dette svar i sammenhæng 👍 0

Alle svar (1)

more options

Valgt løsning

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.