H1v3r Posted February 18, 2005 Report Share Posted February 18, 2005 Kadas rindinjas bij jaraksta httpd.conf lai raadiit lapas latvieshu valodaa ??? Link to comment Share on other sites More sharing options...
bubu Posted February 18, 2005 Report Share Posted February 18, 2005 Nepareizi, nevis httpd.conf failā, bet savā php failā: header("Content-type: text/html; charset=Windows-1257"); Link to comment Share on other sites More sharing options...
H1v3r Posted February 18, 2005 Author Report Share Posted February 18, 2005 tad ko noziimee visi shitie te, kas atrodas conf failaa : AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb p.s. lapaa ir <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> Link to comment Share on other sites More sharing options...
рпр Posted February 18, 2005 Report Share Posted February 18, 2005 http://httpd.apache.org/docs/mod/mod_mime.html#addcharset Link to comment Share on other sites More sharing options...
bubu Posted February 18, 2005 Report Share Posted February 18, 2005 tad ko noziimee visi shitie te, kas atrodas conf failaa : AddCharset ISO-8859-1 .iso8859-1 .latin1 ... p.s. lapaa ir <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> 13891[/snapback] Cik es saprotu, tad tie AddCharset nozīmē to, ja piemēram, tev fails sauksies fails.html.latin1, tad apache automātiski uzliks ISO-8859-1 enodingu. A par to meta, dažreiz ar to nepietiek. Mozilla browseri vispirms ņem to, kas ir http headerī un tikai pēc tam to kas ir meta tagā. Pamēģini atrast šādu rindiņu: AddDefaultCharset ISO-8859-1 un aizkomentēt to (tb rindas priekšā pielikt # simbolu). Link to comment Share on other sites More sharing options...
H1v3r Posted February 18, 2005 Author Report Share Posted February 18, 2005 bubu paldies ... es izdariju gan biki savaadaak .. nomainiju adddefaultcharset uz windows-1257 Link to comment Share on other sites More sharing options...
Recommended Posts