---
title: "Valideringsproblem ; )"
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/148586-valideringsproblem"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "Sjodahl"
published: "2006-06-29T22:18:10.000Z"
updated: "2006-06-30T08:59:52.000Z"
replies: 5
views: 442
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/148586-valideringsproblem"
---

# Valideringsproblem ; )

## #1 — Sjodahl, 2006-06-29T22:18Z

Får detta när jag försöker validera ;)

> Sorry, I am unable to validate this document because on line 36, 47  it contained one or more bytes that I cannot interpret as utf-8  (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

Permalänk: https://www.webforum.nu/p/148586

## #2 — Sjodahl, 2006-06-29T22:29Z

Ändrade till:
\<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"\>

istället för:
\<meta http-equiv="content-type" content="text/html; charset=utf-8"\>

Permalänk: https://www.webforum.nu/p/1835796

## #3 — Mozfan, 2006-06-30T06:54Z

> **Sjodahl skrev:**
>
> Ändrade till:
> \<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"\>
> 
> istället för:
> \<meta http-equiv="content-type" content="text/html; charset=utf-8"\>

Ja, vill du använda en viss charset så måste du också skriva och spara filen med det charset'et, annars blir det inte rätt. ;)  Alternativet är att använda entities för tecken som inte stämmer med angivet charset, t.ex. åäö.

Permalänk: https://www.webforum.nu/p/1835814

## #4 — Sjodahl, 2006-06-30T07:46Z

Vad menar du med att skriva och spara filen? Måste jag ha en fil som heter utf-8 i mappen?

Permalänk: https://www.webforum.nu/p/1835827

## #5 — silfver, 2006-06-30T08:50Z

Nej, han menar att när du sparar filen du pillar i, t.ex. index.html, så måste du spara den med "encoding" för utf-8. Öppna en fil i t.ex. Notepad och kolla vad det står under fliken "Kodning".

Permalänk: https://www.webforum.nu/p/1835840

## #6 — Sjodahl, 2006-06-30T08:59Z

aha.. ;)
Vad noga det skall vara då, tackar!

Permalänk: https://www.webforum.nu/p/1835842

---

Tråden på webben: https://www.webforum.nu/amne/html-css/148586-valideringsproblem
