PHP kodlama sorunu linux kopyalanan

0 Cevap php

I'm editing a php file in Notepad++ in a german language under Windows 7 x64 Ulti. I'm encoding it with Encode in UFT-8 without BOM. On my WAMP server locally everything is displayed correctly. If I copy the file to a linux machine, and view the source, I see replaced characters like ö, ä, ü with some nonsense.

Ben de başlığındaki bu meta etiketi var:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

If I check it with W3C validator, this error appears: "The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the element (utf-8). I will use the value from the HTTP header (iso-8859-1) for this validation"

Funpic.org: Bu bir ücretsiz hosting olduğunu

Why is that please? Thank you

0 Cevap