Merhaba ben iki php dosyası var. Bunlardan biri, ikinci dil metni içeren bir rapor oluşturur. Yazdırdığı zaman, benim kodunda herhangi bir özel karakterler kullanarak değilim bile, her yerde bana özel bir karakter veren tutar. Neden olduğunu ve nasıl bu kurtulabilirim?
Ben Apache 2.2, php 5, Ubuntu 8.04 kullanıyorum.
DOSYA 1
<?php
function glossary() {
return <<<HTML
<h1>Arteries</h1>
<p><strong>Arteries</strong> are blood vessels that carry blood <strong>away from
the heart</strong>. All arteries, with the exception of the pulmonary and umbilical
arteries, carry oxygenated blood. The circulatory system is extremely important for
sustaining life. Its proper functioning is responsible for the delivery of oxygen
and nutrients to all cells, as well as the removal of carbon dioxide and waste products,
maintenance of optimum pH, and the mobility of the elements, proteins and cells of
the immune system. In developed countries, the two leading causes of death, myocardial
infarction and stroke each may directly result from an arterial system that has been
slowly and progressively compromised by years of deterioration.</p>
HTML;
}
?>
DOSYA 2:
<?php
require_once("language.php");
echo glossary();
?>
This is the printout when I execute file 2.
Glossary Arteries
Arteries�are�blood vessels�that carry blood�away from the�heart. All arteries, with the exception of the�pulmonary�and�umbilical arteries, carry oxygenated blood. The�circulatory system�is extremely important for sustaining�life. Its proper functioning is responsible for the delivery of�oxygen and�nutrients�to all cells, as well as the removal of�carbon dioxide�and waste products, maintenance of optimum�pH, and the mobility of the elements, proteins and cells of the�immune system. In�developed countries, the two leading causes of�death, myocardial infarction�and�stroke�each may directly result from an arterial system that has been slowly and progressively compromised by years of deterioration. Autoimmunity
Autoimmunity�is the failure of an organism to recognize its own constituent parts as�self, which allows an immune response against its own cells and tissues. Any disease that results from such an aberrant immune response is termed an�autoimmune disease.� Basal cell carcinoma
Bazal hücreli kanser ofskin en yaygın türü carcinomais. Bu rarelymetastasizesor öldürür, ama önemli yıkım ve dokuları çevreleyen disfigurementby işgalci neden olabilir çünkü hala consideredmalignant olduğunu. İstatistiksel olarak, yaklaşık 3 10 Kafkasyalılar dışında kendi ömrü içinde bir bazal hücreli kanser gelişir. Tüm vakaların yüzde 80'inde, bazal hücreli kanserler kafasına bulunan ve neck.There son yıllarda gövdede bazal hücreli kanser görülme sıklığında artış gibi görünüyor vardır.