special Posted June 10, 2008 Report Share Posted June 10, 2008 Ir tāda lieta no MYSQL datubāzes latviešu ķeburi radās bet kad mājaslapai iekš php vai html ierakstu latviski radas galigi pretējais vis paliek ar jautajuma zīmēm , ā vieta ? . Domāju ka kautkas nebija ar kodingu , paskatījos bet itkā zem /etc/x11/utt UTF-8 HMM atkal gļuki Kādas variācijas lūdzu iesakiet kā var parbaudīt kur līkas rokas. icon_arrow.gif Link to comment Share on other sites More sharing options...
andrisp Posted June 10, 2008 Report Share Posted June 10, 2008 Vajag html meta tagu pareizu noraadiit, piemeeram: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Fails arii attieciigajaa kodeejumaa jaapieseivo. PS. Kaadaa sakaraa /etc/x11 ? Link to comment Share on other sites More sharing options...
special Posted June 10, 2008 Author Report Share Posted June 10, 2008 Nu a ja tas ari ir pareizi kas vel var but nepareizi . Nu ka /etx/x11/ domaju ka tur nav kautkas pareizi jo ari saistits ar keiboard laiout . Experimentet vajadzega nebija kam paprasit padomu. Link to comment Share on other sites More sharing options...
john.brown Posted June 10, 2008 Report Share Posted June 10, 2008 un droši vien arī db savienojumam pareizs kodējums jānorāda. un header('Content-type: text/html; charset=utf-8') arī par ļaunu nenāktu. Link to comment Share on other sites More sharing options...
special Posted June 10, 2008 Author Report Share Posted June 10, 2008 skaidrs divaini ir tas kad no mysql teksts majaslapa paradas latviski bet kad no faila tad atkal jautajuma zimes . paskatisos sito lietu . Link to comment Share on other sites More sharing options...
special Posted June 10, 2008 Author Report Share Posted June 10, 2008 Man ir sitaa <?xml version="1.0" encoding="{$lang.ENCODING}"?> un tad sita <meta http-equiv="Content-Type" content="text/html; charset={$lang.ENCODING}" /> <meta name="keywords" content="{$config.meta_keywords}" /> <meta name="description" content="{$config.meta_description}" /> atiecigi uz $lang['ENCODING'] = 'utf-8'; Link to comment Share on other sites More sharing options...
john.brown Posted June 10, 2008 Report Share Posted June 10, 2008 pirms visa tā ieliec <?php header('Content-type: text/html; charset=utf-8'); ?> Link to comment Share on other sites More sharing options...
codez Posted June 10, 2008 Report Share Posted June 10, 2008 skaidrs divaini ir tas kad no mysql teksts majaslapa paradas latviski bet kad no faila tad atkal jautajuma zimes . paskatisos sito lietu . Tak saglabā tos failus kā UTF-8 un viss. Link to comment Share on other sites More sharing options...
777 Posted June 10, 2008 Report Share Posted June 10, 2008 manuprat vins izmanto open source, un vel neko nesaprot PHP, tapec bus gruuti vinam kaut ko paskaidrot :D Link to comment Share on other sites More sharing options...
special Posted June 10, 2008 Author Report Share Posted June 10, 2008 Ieliku kautkas sak stradat . Ok nu loti daudz noesaprotu bet censos maximali apgut visu . Opens source tas nav tas ir komercials projekts Link to comment Share on other sites More sharing options...
marcis Posted June 11, 2008 Report Share Posted June 11, 2008 Bišķi lika pasmīnēt, tava izpratne par open source. Bet risinājumu jau tev codez pateica. Paši faili tev drošvien ir saglabāti ANSI kodējumā. Link to comment Share on other sites More sharing options...
Recommended Posts