Garais333 Posted November 22, 2005 Report Share Posted November 22, 2005 (edited) Uzliku lapā cutenews. Visus meta tagus saliku. Garumzīmes rādās, bet ne visas š un ž vietā rādās ? un ,. Ko lai dara lai burti rādītos pareizi? Edited November 23, 2005 by Garais333 Link to comment Share on other sites More sharing options...
bubu Posted November 22, 2005 Report Share Posted November 22, 2005 Tev jau tie burti nav kā burti, bet gan kā html entītes... Link to comment Share on other sites More sharing options...
Garais333 Posted November 22, 2005 Author Report Share Posted November 22, 2005 (edited) Un ko lai dara? update ja ieliek <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> tad burti rādās pareizi, bet tad lapā pārējās vietās garumzīmju vietās ir ķeburi Edited November 22, 2005 by Garais333 Link to comment Share on other sites More sharing options...
bubu Posted November 22, 2005 Report Share Posted November 22, 2005 Nerakstīt burtus ar entītēm, bet ar normāliem burtiem. Link to comment Share on other sites More sharing options...
Garais333 Posted November 22, 2005 Author Report Share Posted November 22, 2005 Es nrakstu normāliem burtiem. Cutenews pats viņus pārveido Link to comment Share on other sites More sharing options...
bubu Posted November 22, 2005 Report Share Posted November 22, 2005 Nu tad cutenews kodā labot vietu, kur tie tiek pārvērsti. Ļoti ticams, ka tā ir htmentities() funkcija. Link to comment Share on other sites More sharing options...
Garais333 Posted November 23, 2005 Author Report Share Posted November 23, 2005 Nekas nesanāca. Izdomāju ka labak uztaisīšu pats savu. Paldies par palīdzību =) Link to comment Share on other sites More sharing options...
Zinchux Posted November 24, 2005 Report Share Posted November 24, 2005 Apmeklee: http://cutephp.com/forum/index.php?showtopic=12155 Ja nelaizh iekshaa, tad pieregjistreejies un paseercho uz vaardu Scandinavian... Topiks saucaas - "Problems with Scandinavian letters in 1.4.1" vai kaut kaa taa... Varbuut tas paliidzees... Link to comment Share on other sites More sharing options...
SkaKri Posted November 25, 2005 Report Share Posted November 25, 2005 Uzliku lapā cutenews. Visus meta tagus saliku. Garumzīmes rādās, bet ne visas š un ž vietā rādās ? un ,. Ko lai dara lai burti rādītos pareizi? Pmm... liec UTF-8 un šādu problēmu nekad nebūs. Link to comment Share on other sites More sharing options...
v3rb0 Posted November 25, 2005 Report Share Posted November 25, 2005 .. ne gluži utf8 ir brīnumzāles. htmlentities() ar vienu argumentu [dažus?] utf-8 simbolus parvērta par entītēm, vajag norādīt šamam ko repleisot un encodingu. Link to comment Share on other sites More sharing options...
bubu Posted November 25, 2005 Report Share Posted November 25, 2005 Nevajag aiztikt to htmlentities(), bet vajag lietot htmlspecialchars(). Link to comment Share on other sites More sharing options...
spermer_co Posted November 25, 2005 Report Share Posted November 25, 2005 kaa jau zinchux teica - http://cutephp.com/forum/index.php?showtopic=12155 !.. un viss tur ir paraadiits.. pasham bij tada problema un tur arii ir kodinsh kas janodzeesh viena failaa divaas vietaas.. un viss Link to comment Share on other sites More sharing options...
Recommended Posts