SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy I'm lost:Setting correct encoding doesn't work

    Hello all

    I'm new here so thanks for any help you could provide

    I'm using this on http://www.etsii.upm.es/ingor/organi...sim/index.html :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!--  Template templates_cabecera.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    	<meta name="Description" content="Descripción de la página" />
    	<meta name="Keywords" content="palabras,clave,separadas,por,comas" />
    	<meta name="Author" content="Glantucan" />
    	<meta name="Copyright" content="&copy; 30/05/2006 glantucan.com" />
    	<title>I Congreso de Ingeniería de la Organización</title>
    	<style type="text/css">@import "my.css";</style>
    	<!--[if IE]>
    		<link href="my_ie.css" rel="stylesheet" type="text/css" media="screen" />
    	<![endif]-->
    	<link rel="icon" href="tdn.png" type="image/png" />
    </head>
    But browsers don't render correctly spanish characters.

    Any idea?

    Please, Help!

    Glantucan

  2. #2
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Correction to previous post

    Hi again

    I found out that there were some mistakes in my understanding of how to set doctype and language and encoding. i believe the following is more correct, but still not working:
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
    <head>
    	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    	<meta name="Description" content="Descripción de la página" />
    	<meta name="Keywords" content="palabras,clave,separadas,por,comas" />
    	<meta name="Author" content="Glantucan" />
    	<meta name="Copyright" content="&copy; 30/05/2006 glantucan.com" />
    	<title>I Congreso de Ingeniería de la Organización</title>
    	<style type="text/css">@import "my.css";</style>
    	<!--[if IE]>
    		<link href="my_ie.css" rel="stylesheet" type="text/css" media="screen" />
    	<![endif]-->
    	<link rel="icon" href="tdn.png" type="image/png" />
    </head>

  3. #3
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Welcome to the forums.

    You need to configure the server.
    Simon Pieters

  4. #4
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by zcorpan
    Welcome to the forums.

    You need to configure the server.
    Thanks a lot. I finally managed to convince the server administrators to allow utf-8 for this webpage. :-D

    They argued that they don't use to allow it because some bad hackers would be able to exploit it to gain access to the server. Do any of you know what are they talking about?

    Thanks again

    Glantucan


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •