lildzhank Posted August 24, 2006 Report Share Posted August 24, 2006 UTF-8 š burtu attelo kaa zimi "?", bet windows-1250 neattelo ā,ē utt. ka lai UTF-8 encoding uzraditu pareizi š burtu ? Link to comment Share on other sites More sharing options...
bubu Posted August 24, 2006 Report Share Posted August 24, 2006 Windows-1250? wtf? Latviešu ANSI enkodings ir 1257. UTF-8 attēlo š burtu bez problēmām. Problēma ir tavā skriptā - tas vai nu nepareizi to saglabā (datubāzē/failā), vai nepareizi nolasa un izvada. P.S. Kāds tam sakars ar OOP? Pārvietoju topiku uz sakarīgāku sadaļu. Link to comment Share on other sites More sharing options...
Paulinjsh Posted August 24, 2006 Report Share Posted August 24, 2006 saglabāji failu utf formātā, headeru, meta uzliki pareizu.. pameklē forumā viss ir aprakstīts! Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 25, 2006 Report Share Posted August 25, 2006 lildzhank --> 90% dodu ka lasi datus no DB un nesi izpildijis mysql_query("SET NAMES UTF8"); P.S. vareeji jau pameklet tepat forumaa Link to comment Share on other sites More sharing options...
Recommended Posts