G-Style Posted December 5, 2007 Report Share Posted December 5, 2007 Nemam un lasam datus no xml faila, kas ir utf-8 kodeejumaa, kas savukaart jaaizvada ieks manas lapas, kurai ir win-1257 encoding, kuru nevar mainiit. Protams, ka garumziimes neraadaas. Taatad jautaajums vai ir iespeejams so te noveerst kkaadaa celjaa??? Izmeeginaaju sito: <? header("Content-Type: application/xhtml+xml; charset=utf-8"); ?> Viss oki tachu texts kas ir lapaa orginaali ir nelasaams + izmet erroru par NOT well performed prieks sitaas rindinjas. Ko nu? :) Link to comment Share on other sites More sharing options...
blackhalt Posted December 5, 2007 Report Share Posted December 5, 2007 http://lv.php.net/manual/en/function.iconv.php Link to comment Share on other sites More sharing options...
G-Style Posted December 5, 2007 Author Report Share Posted December 5, 2007 Nepalidz. Rindinja izskataas sitaa: echo iconv("UTF-8", "windows-1252", blablabla('Jaunumi') ); Link to comment Share on other sites More sharing options...
bubu Posted December 5, 2007 Report Share Posted December 5, 2007 Tu tak rakstīji, ka vajag 1257, nevis 1252. Link to comment Share on other sites More sharing options...
Analgiins Posted December 6, 2007 Report Share Posted December 6, 2007 ConvertCharset_v1.1 Link to comment Share on other sites More sharing options...
PheliX Posted December 6, 2007 Report Share Posted December 6, 2007 iconv( 'UTF-8', 'ISO-8859-13', $teksts ); Link to comment Share on other sites More sharing options...
G-Style Posted December 6, 2007 Author Report Share Posted December 6, 2007 nu neiet nekaadi. Help!!! Link to comment Share on other sites More sharing options...
bubu Posted December 6, 2007 Report Share Posted December 6, 2007 Neredzu iemesla kāpēc tas iconv, lai neietu. Man vienmēr tas ir gājis. Gan jau tev problēma ir kautkur citur kodā vai htmlā. Link to comment Share on other sites More sharing options...
andrisp Posted December 6, 2007 Report Share Posted December 6, 2007 Moška modulis nemaz nav enablēts. Var arī pamēģināt mb_string. Link to comment Share on other sites More sharing options...
G-Style Posted December 7, 2007 Author Report Share Posted December 7, 2007 Arii nesaprotu, kas par vainu. xml charsets utf-8, modulis enaiblots. Ar mb_string arii nesanaac bet iipashi nemeeginaaju. Servreim vienmeer bijushas probleemas ar charsetiem jau no pasha saakuma,bet anyway ar to CharsetEncoder viss sanaaca. Taa kaa esmu tagad laimiigs un apmierinaats. Vispaar laba fiica var mainiit charsetus lapaam texta gabaliem visam webam un t.t Iesaku! Link to comment Share on other sites More sharing options...
Recommended Posts