Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8692019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:14:07+00:00 2026-06-13T00:14:07+00:00

I have a text file encoded in ISO-8859-1. If you view it in Google

  • 0

I have a text file encoded in ISO-8859-1. If you view it in Google Chrome, it displays correctly. However, if you iframe it, it looks wrong. Also, it always looks wrong in Firefox.

I have noticed this same behavior with various different servers and browsers. However, if I use Google Chrome and run the server and browser on the same machine, the iframe’s content displays correctly.

What should I do to make the file show up correctly in all situations? It seems like the browser should be able to figure it out, but in many situations it fails to do so.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:14:09+00:00Added an answer on June 13, 2026 at 12:14 am

    You’re serving the file with Content-Type: text/plain, which amounts to asking the browser to guess. Evidently, not every situation results in the same guess.

    Set it to Content-Type: text/plain; charset=iso-8859-1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been given a file, (probably) encoded in Latin-1 (ISO 8859-1), and there
I am having utf-8 encoded file containing arabic text and I have to search
I have an XML document file.xml which is encoded in Iso-latin-15 (aka Iso-Latin-9) <?xml
I have a file which is ANSI encoded. However it shows Arabic letters inside
I have a text file which is encoded with codepage 850. I am reading
I have to import some UTF-8 encoded text-file into my C++Builder 5 program. Are
I have a der file 'text.der' that contains a DER-encoded key. I want read
Edit: http://pastebin.com/W4iG3tjS - the file I have a text file encoded in utf8 with
I have a text file that is encoded in UTF-8. I'm reading it in
I have a text file that contains localized language strings that is currently encoded

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.