novaks Posted January 19, 2004 Report Share Posted January 19, 2004 Kāpēc mans IE vai Opera automātiski neatpazīst charset=UTF-8 un browzerī rāda nepareizu encodingu. Pēc tam manuāli uzliekot lai browzeris šo lapu uztver kā UNICODE UTF-8 tad vis ir OK, bet tiklīdz uztaisa reload tā atkal rāda ķeburus. Vai man kaut kas jāmaina Apache (httpd.conf) failā vai kā ??? Link to comment Share on other sites More sharing options...
cuuu Posted January 19, 2004 Report Share Posted January 19, 2004 vietas, kuras vajag pārbaudīt: * httpd.conf - DefaultEncoding vai kaut kas tāds * ar headeri Content-Type * ieksh head content=" bla bla bla charset=..." pārbaudi vēlreiz, vai visur ir pareiza sintakste, lielie/mazie burti, nepareizā veida pēdiņas, vai pat vienkārši liekas atstarpes var browseriem/webserverim nepatikt. Link to comment Share on other sites More sharing options...
CryRat Posted January 19, 2004 Report Share Posted January 19, 2004 pirmā rindiņa tev ir <?xml version="1.0" encoding="UTF-8"?> ? Link to comment Share on other sites More sharing options...
Kikko Posted February 3, 2004 Report Share Posted February 3, 2004 Man Firebirds (IE viss bija ok) nepazina lapas ar win-1251 kodējumu kaut arī ar content-type bija pareizs, ieliku šito httpd.conf'ā: AddDefaultCharset WINDOWS-1251 un viss aizgāja. Tātad tev (Ja gadījumā tu esi neattapīgs :P ) jāizmanto AddDefaultCharset UTF-8 Link to comment Share on other sites More sharing options...
Vistu Zaglis Posted February 4, 2004 Report Share Posted February 4, 2004 Ka tik nu nebūs vienk. piemirsies / nepareizi pierakstījies charset iekš lapas head-a. Vei auto.delfi.lv arī kā nu mācēdami pierakstījuši, kā rezultātā vismaz Opera visu viņu pastāvēšanas laiku rāda "burtiem līdzīgus priekšmetus"! :) (viņiem pēdiņas nav modē) Syntax first, un tad pārejam pie Globālām Problēmām.. :) Link to comment Share on other sites More sharing options...
Kikko Posted February 4, 2004 Report Share Posted February 4, 2004 <meta http-equiv="content-type" content="text/html; charset=windows-1251" > Pietiekami pareizi? :angry: Link to comment Share on other sites More sharing options...
jb4 Posted February 4, 2004 Report Share Posted February 4, 2004 Man vēl nekad ar Apache2 uz Linux nav izdevies pēc noklusējuma dabūt lapas ne UTF-8, ne ISO-8859-13 (cp1257) rādīties korekti. Lai lapas rādītos korekti es vienmēr iekomentēju rindiņu AddDefaultCharset vai arī nomainu uz to, kas man konkrēti vajadzīga, bet ar iekomentēšanu pietiek. Link to comment Share on other sites More sharing options...
рпр Posted February 4, 2004 Report Share Posted February 4, 2004 apacha konfigaa #AddDefaultCharset on vai AddDefaultCharset off un tad iesmeta tags Link to comment Share on other sites More sharing options...
laikabirojs Posted February 16, 2004 Report Share Posted February 16, 2004 a ja lapaa ir gan krievu gan latvieshu burti, ko dariit, ka neraada, kas jaamaina configaa? Link to comment Share on other sites More sharing options...
Roze Posted February 16, 2004 Report Share Posted February 16, 2004 Konfigaa nekas nav jaamaina.. Visus AddDefaultCharset izmest nafig.. Bet lapa jaasaglabaa UTF formaataa un jaieliek pie meta tagiem ka tas ir UTF vai ar php jaasuutaa pareizais headeris.. Link to comment Share on other sites More sharing options...
Iida Rie Posted January 18, 2005 Report Share Posted January 18, 2005 Es nezinu, kas tas ir par standartu, bet utf-8 pareizi raksta ar mazajiem burtiem. Link to comment Share on other sites More sharing options...
bubu Posted January 18, 2005 Report Share Posted January 18, 2005 Es nezinu, kas tas ir par standartu, bet utf-8 pareizi raksta ar mazajiem burtiem. 12860[/snapback] Nu nez nez vai tā ir. Link to comment Share on other sites More sharing options...
Iida Rie Posted January 18, 2005 Report Share Posted January 18, 2005 Taisnība, es kļūdijos. The character set names may be up to 40 characters taken from the printable characters of US-ASCII. However, no distinction is made between use of upper and lower case letters. http://www.iana.org/assignments/character-sets Link to comment Share on other sites More sharing options...
bubu Posted January 18, 2005 Report Share Posted January 18, 2005 (edited) ... However, no distinction is made between use of upper and lower case letters. Edited January 18, 2005 by bubu Link to comment Share on other sites More sharing options...
Venom Posted January 19, 2005 Report Share Posted January 19, 2005 nez, kaučkā pierasts, ka xhtmlā tagus maziem burtiem raksta + zinot, ka iekšā tik un tā būs "strtolower(encoding)" Link to comment Share on other sites More sharing options...
Recommended Posts