X
Tap here to go to the mobile version of the site.

Support Forum

Viewing document in firefox is all jumbled. How do I fix this?

Posted

This started yesterday, when I open a document in Firefox, it is unreadable. It is full of symbols. How do I fix it?

This started yesterday, when I open a document in Firefox, it is unreadable. It is full of symbols. How do I fix it?
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

More Information

FredMcD
  • Top 10 Contributor
4249 solutions 59438 answers

It's possible the file is not a text file, or it's a 'Word' type file. Where did you get the file from?

It's possible the file is not a text file, or it's a 'Word' type file. Where did you get the file from?
Was this helpful to you?
Quote

Question owner

The files come from attachments to emails. I get emails from our vendors with the invoices. I used to be able to just view and then print. Now I have to download to Adobe and print. This happens with all of them. I think it is my email server. I opened my email with a different browser and still had same issue. So I am checking into that.

The files come from attachments to emails. I get emails from our vendors with the invoices. I used to be able to just view and then print. Now I have to download to Adobe and print. This happens with all of them. I think it is my email server. I opened my email with a different browser and still had same issue. So I am checking into that.
Was this helpful to you?
Quote
FredMcD
  • Top 10 Contributor
4249 solutions 59438 answers

Check with the sender. I think they are misidentifying the file type (extension). In other words, txt instead of the real file type.

Check with the sender. I think they are misidentifying the file type (extension). In other words, txt instead of the real file type.
Was this helpful to you?
Quote

Question owner

This is happening with all attachments and a co-worker is having the same issues.

This is happening with all attachments and a co-worker is having the same issues.
Was this helpful to you?
Quote
FredMcD
  • Top 10 Contributor
4249 solutions 59438 answers

Can you provide a link to the problem page that we can check out? No Personal Information Please !

Can you provide a link to the problem page that we can check out? '''No Personal Information Please ! '''
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8704 solutions 71129 answers

Hi Kathy, if the Gmail email attachments site identifies the files as PDFs, then they should show up in Firefox's built-in PDF Viewer. Is that happening? It has a distinctive black toolbar and the download button looks like this:

If the PDFs are not opening in the PDF viewer, the server may be identifying them in some other manner, such as saying they are plain text. To see what Firefox is being told, you could try this:

right-click the gibberish > View Page Info

On the main "General" tab, a few lines down, look at the Type row. For PDFs, it should say application/pdf and not anything starting with text/. What do you see there?

Hi Kathy, if the <s>Gmail</s> <u>email</u> attachments site identifies the files as PDFs, then they should show up in Firefox's built-in PDF Viewer. Is that happening? It has a distinctive black toolbar and the download button looks like this: <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2019-09-18-15-25-47-1540ed.png" width="500"> If the PDFs are not opening in the PDF viewer, the server may be identifying them in some other manner, such as saying they are plain text. To see what Firefox is being told, you could try this: right-click the gibberish > View Page Info On the main "General" tab, a few lines down, look at the '''Type''' row. For PDFs, it should say '''application/pdf''' and not anything starting with '''text/'''. What do you see there?

Modified by jscher2000

Was this helpful to you?
Quote

Question owner

It is showing text/plain. I went to an old email from my trash can (one that opened normal last week) and it now opens to gibberish also. It shows text/plain. I can open them if I use the "open with" adobe reader but I used to just click view and Firefox would open a window for me to see the attachment. Now all I see is the gibberish when the window opens instead of the invoice.

It is showing text/plain. I went to an old email from my trash can (one that opened normal last week) and it now opens to gibberish also. It shows text/plain. I can open them if I use the "open with" adobe reader but I used to just click view and Firefox would open a window for me to see the attachment. Now all I see is the gibberish when the window opens instead of the invoice.
Was this helpful to you?
Quote

Question owner

Here is the window that opened this morning for my attachment.

https://webmail07.register.com/mm/api/email/message/INBOX/6738114160489405662/attachments/0


This is what opens up when we select view. This should be an invoice. This is happening to all of us here at work.

Here is the window that opened this morning for my attachment. https://webmail07.register.com/mm/api/email/message/INBOX/6738114160489405662/attachments/0 This is what opens up when we select view. This should be an invoice. This is happening to all of us here at work.
Was this helpful to you?
Quote
FredMcD
  • Top 10 Contributor
4249 solutions 59438 answers

HTTP Status 401 – Unauthorized

Type Status Report

Description The request has not been applied because it lacks valid authentication credentials for the target resource.

HTTP Status 401 – Unauthorized Type Status Report Description The request has not been applied because it lacks valid authentication credentials for the target resource.
Was this helpful to you?
Quote

Question owner

I do not know what that means. Why after years of opening up would they suddenly "lack valid authentication credentials"? Is this something our email server needs to address since all of us are having this issue with all our attachments?

I do not know what that means. Why after years of opening up would they suddenly "lack valid authentication credentials"? Is this something our email server needs to address since all of us are having this issue with all our attachments?
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8704 solutions 71129 answers

Kathy said

FredMcD said
HTTP Status 401 – Unauthorized Type Status Report Description The request has not been applied because it lacks valid authentication credentials for the target resource.

I do not know what that means. Why after years of opening up would they suddenly "lack valid authentication credentials"? Is this something our email server needs to address since all of us are having this issue with all our attachments?

Hi Kathy, your link is not available to the general public; I think you need to be logged into your email in order to see it it. Which makes total sense.

One possible explanation for the PDF being served with the wrong content-type is that the site is simply broken. Another possbility is that the site is trying to serve you some kind of preview first; Gmail and Dropbox do that, for example.

I created an extension to work around the server configuration problem, but it would only help if the scrambled page has a .pdf extension showing in the address bar.

https://addons.mozilla.org/firefox/addon/content-type-fixer/

By default, the extension is snoozing. Click the Zzzz button to turn it on and it will correct the type for a .pdf from text/plain to application/pdf. It also has predefined fixes for .doc, .docx, and various other common file extensions.

''Kathy [[#answer-1253266|said]]'' <blockquote> ''FredMcD [[#answer-1253265|said]]'' <blockquote> HTTP Status 401 – Unauthorized Type Status Report Description The request has not been applied because it lacks valid authentication credentials for the target resource. </blockquote> I do not know what that means. Why after years of opening up would they suddenly "lack valid authentication credentials"? Is this something our email server needs to address since all of us are having this issue with all our attachments? </blockquote> Hi Kathy, your link is not available to the general public; I think you need to be logged into your email in order to see it it. Which makes total sense. One possible explanation for the PDF being served with the wrong content-type is that the site is simply broken. Another possbility is that the site is trying to serve you some kind of preview first; Gmail and Dropbox do that, for example. I created an extension to work around the server configuration problem, but it would only help if the scrambled page has a .pdf extension showing in the address bar. https://addons.mozilla.org/firefox/addon/content-type-fixer/ By default, the extension is snoozing. Click the Zzzz button to turn it on and it will correct the type for a .pdf from text/plain to application/pdf. It also has predefined fixes for .doc, .docx, and various other common file extensions.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.