Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

enforcing a specific encoding

I have an html page hosted on Redhat linux 6, when I call it from client side (IE), the default encoding of the browser changed to (western european (windows), if I change it (through the menu View>Encoding>western european (ISO) it become legible.

if I refresh the page it back to take western european (windows), I'm sure that no code into the html page enforce that encoding, and I believe that is a server side configuration, anybody can help? is there a way to configure the server to enforce a specific coding during the download

NB:I have another redhat linux 7.2 ,I putted the same page and I called from the same browser, and it work perfectly as I'm like.
0
mmbaba
Asked:
mmbaba
  • 2
1 Solution
 
aaryalCommented:
you need to put in a meta tag in the head section of your html  like so:

<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

note the ISO-8859-1 which is for western european encoding. you can get the rest of the encodings from :

ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets
0
 
aaryalCommented:
i forget, you do not need a server side configuration. it's all thru html.
0
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now