satek Posted May 22, 2006 Report Share Posted May 22, 2006 Nesen iesaaku taisiit trakeri, viss pagaidaam izdodaas, bet ir viena kibele. Veelos iztulkot visu latviski, bet iisti nesaprotu kaa dabuut gatavu, ka webaa raada visas miikstinaajuma ziimes.. Cik saprotu tur kautkas ar charsetu. Man viens ari teica lai lietoju utf-8, bet ja to rakstu, tad taapat miikstinaajuma ziimju vietaa raadaas %? Veel es nomainu interneta browserii (lieotju mozillu)charsetu uz windows-1257 un tad itkaa straadaa, bet kad paarsleedzu citu lapu atkal keburi. Tas tak nav normaali visu laiku mainiit mozilla charsetu. Taapeec jums prasu, kuru charsetu ir jaalieto. Un vai tas charset ir jaamaina tikai vienaa failaa? (galvenajaa bittorrent.php) Vai arii katraa jaaraksta sis kods : header("Content-Type: text/html; charset=windows-1257"); //header("Pragma: No-cache"); Vai arii kautkas cits jaaraksta lai vareetu rakstiit ar miikstinaajuma ziimeem. Paldies, cereesu uz juusu paliidziibu. Link to comment Share on other sites More sharing options...
Vebers Posted May 22, 2006 Report Share Posted May 22, 2006 100 un 1 reizi apspriesta tēma par chasetiem (enkodingiem), tak pameklē tepat forumā! Link to comment Share on other sites More sharing options...
satek Posted May 22, 2006 Author Report Share Posted May 22, 2006 vai tik gruuti pateik? nu lab paldies taapat, pastiiisos. Link to comment Share on other sites More sharing options...
Vebers Posted May 22, 2006 Report Share Posted May 22, 2006 Kāda jēga stāstīt to kas jau daudz reizes ir izstāstīts? Link to comment Share on other sites More sharing options...
v3rb0 Posted May 22, 2006 Report Share Posted May 22, 2006 vajag nevis vienā vai divos failos, bet pirms KATRA outputa. Link to comment Share on other sites More sharing options...
satek Posted May 22, 2006 Author Report Share Posted May 22, 2006 tad es iisti nesapratu. Kuru tad vaig lietot? windows-1257 vai utf-8? Katraa failaa ir jaaraksta : header("Content-Type: text/html; charset=windows-1257"); //header("Pragma: No-cache"); ??????????????? Un ja jaa, tad kur? Jo parasti vinju ieliekot vinjs nestraadaa... Link to comment Share on other sites More sharing options...
Vebers Posted May 22, 2006 Report Share Posted May 22, 2006 Pie PHP: header("Content-Type: text/html; charset=utf-8"); Pie HTML: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Un viennozīmīgi UTF-8 ir labāks. To bija tik grūti atrast?!? Link to comment Share on other sites More sharing options...
satek Posted May 22, 2006 Author Report Share Posted May 22, 2006 lab lab, netrako, paldies! Link to comment Share on other sites More sharing options...
Kristabs Posted May 22, 2006 Report Share Posted May 22, 2006 nevajag arii aizmirst, ka katrs fails jaaparseivo attieciigajaa kodeejumaa arii. Link to comment Share on other sites More sharing options...
satek Posted May 22, 2006 Author Report Share Posted May 22, 2006 bet ja man .css fails arii satur tekstu un tur rakstot header("Content-Type: text/html; charset=utf-8"); nekas nenotiek. ??? Link to comment Share on other sites More sharing options...
Kristabs Posted May 22, 2006 Report Share Posted May 22, 2006 1) Faila paplashinaajumam jaabuut defoultaa .php, lai webserveris vispaar izpildiitu php kodu tajaa. 2)Kaadu veel tekstu css failaa var ielikt?? 3)Prieksh css raksta @charset "utf-8"; faila saakumaa. Link to comment Share on other sites More sharing options...
Vebers Posted May 22, 2006 Report Share Posted May 22, 2006 (edited) CSS - Cascading Style Sheets. Language used to describe how an HTML document should be formatted. CSS ir tikai HTML formatēšanai. EDIT: Kā vispār ir iespējams, ka CSS failā ir UTF-8 teksts ? Ja neskaita komentus ? Edited May 22, 2006 by MakaTaNaw Link to comment Share on other sites More sharing options...
satek Posted May 23, 2006 Author Report Share Posted May 23, 2006 paldies, tagad viss iet :) ja labi izdosies, tad mosh driiz iemetiisu linku uz trakeri (ja veelaas ) Veelreiz paldies! Link to comment Share on other sites More sharing options...
Recommended Posts