Kefiirs Posted July 22, 2008 Report Share Posted July 22, 2008 (edited) Es tagad tulkoju IPB forumu, bet ir viena problēma, man neņem Š burtu! Es mēģināju likt klāt šo rindu visiem lang.php failiem <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> bet uzreiz uzmetas errors, ka šajā rindā ir errors! Pārējos burtus ņem, neņem Š;Ž u.t.t Lūdzu palīdziet! :) Edited July 22, 2008 by Kefiirs Link to comment Share on other sites More sharing options...
andrisp Posted July 22, 2008 Report Share Posted July 22, 2008 Kāds tad īsti tas errors ir ? Un ko nozīmē "man liekas, ka neņem" ? Link to comment Share on other sites More sharing options...
Kefiirs Posted July 22, 2008 Author Report Share Posted July 22, 2008 (edited) Parse error: syntax error, unexpected '<', expecting ')' in ...\...\...\...\cache\lang_cache\2\lang_global.php on line 4 Nu jā, neņem Š;Ž;Ķ,Ņ u.t.t Uz 4-ās līnijas ir <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> Edited July 22, 2008 by Kefiirs Link to comment Share on other sites More sharing options...
bubu Posted July 22, 2008 Report Share Posted July 22, 2008 Parādi 1-5 rindiņu tam lang_global.php failam. Tev tur ir php sintakses kļūda, nevis "neņem Š". Link to comment Share on other sites More sharing options...
Kefiirs Posted July 22, 2008 Author Report Share Posted July 22, 2008 (edited) <?php $lang = array ( <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> msg_newRED => "<blink><font color=\"#FF0000\"><b>%s Jaunas zinja(s)</b></font></blink>", 'partial_login' => 'Autorizēshanās notika veiksmīgi!', Edited July 22, 2008 by Kefiirs Link to comment Share on other sites More sharing options...
test2 Posted July 22, 2008 Report Share Posted July 22, 2008 Nu bļā kā tu vari likt to meta utf kkūr pa vidu arayam, protams, ka php bļaus, ka esi daunis! Un vispār, ja tu tā saliktu katrā lang failā, nekas valīds tev tur nesanāktu, šito meta norādi iekš global header, tur pēc defulta stāv iso! Link to comment Share on other sites More sharing options...
xfr33 Posted July 22, 2008 Report Share Posted July 22, 2008 test2 nomierinies :) cilvēkam vajag palīdzēt nevis braukt augumā! Link to comment Share on other sites More sharing options...
Kefiirs Posted July 22, 2008 Author Report Share Posted July 22, 2008 Jā, un man tagad katrai HTML templeitei būs jāmet klāt? Nu BOARD HEADER'AM un FOOTER'AM es piemetu klāt, jā, viss iet, bet tiklīdz aizej kaut kur pa foruma kategorijām, atkal Š vietā ir gļuki!!! Link to comment Share on other sites More sharing options...
Mikijs Posted July 22, 2008 Report Share Posted July 22, 2008 labak vnk .. izmanto header("Content-type: text/html; charset=UTF-8"); Link to comment Share on other sites More sharing options...
test2 Posted July 22, 2008 Report Share Posted July 22, 2008 Da bļin mikīj labāk neraksti neko! Tas šž rādas tāpēc, ka datubāzē viss ir uz iso, apsties tač pats gan jau plašajā ipb ir kkāda konertēšanas iespējas! Vai arī vnk pameklē guglē! Link to comment Share on other sites More sharing options...
Mikijs Posted July 22, 2008 Report Share Posted July 22, 2008 test2 ? .. neiebraucu.. tak arprac izdoma kko jedzigu un tad runa . vispar seit ir palidzibas forums cik zinu .. un tev liela mute.. ej uz buutu un sedi :/ tur lamajies.. Link to comment Share on other sites More sharing options...
andrisp Posted July 22, 2008 Report Share Posted July 22, 2008 Ja problēma patiešām ir tur, ka pārlūks nepareizajā enkodingā attēlo lapu, tad Mikija ieteikums ir ļoti pareizs. Link to comment Share on other sites More sharing options...
Mikijs Posted July 22, 2008 Report Share Posted July 22, 2008 (edited) paldies .. :) paldies :) .. jo cik es esmu stradajis ar so funkciju zinu ka var likt kaut lapas apaksdala, tatad ieteiktu tev labak parbaudit iznjem savu meta (kautgan tas netrauce) un ieliec header ieks sava koda un parbaudi vai strada, ja ne tad nav šī nebūs tā vaina Edited July 22, 2008 by Mikijs Link to comment Share on other sites More sharing options...
test2 Posted July 22, 2008 Report Share Posted July 22, 2008 Tu pat nezini, kas ir funkcija, un šis headeris nerukās, jo problēma ir ipb datubāzē, kura pēc defulta ir iso kodējumā! Link to comment Share on other sites More sharing options...
Mikijs Posted July 22, 2008 Report Share Posted July 22, 2008 Nu blin .. :/ panjem tak datubazi parliec uz utf-8 (unicode) un pietam! cik man ir pieredze pie datubazu kodejuma, tu vari ierakstit savu utf-8 datubaze kautvai vai vinja ir utf-16 nokodeta.. tu kad izvliksi no row savu tekstu un ja lapa bus utf-8 tad tev bus smuks utf-8.. Link to comment Share on other sites More sharing options...
Recommended Posts