Dooling Posted June 12, 2007 Report Share Posted June 12, 2007 Es strādāu ar PEAR pakotni Spreadsheet_Excel_Writer. Viss strādā ok, tik ir problēmas ar encodingu. Izmantoju Worksheet::setInputEncoding funkciju, bet man tāpat rāda ķeburus. Varbūt arī ir kāds saskāries ar šādu problēmu un atrisinājis to? Link to comment Share on other sites More sharing options...
GedroX Posted June 12, 2007 Report Share Posted June 12, 2007 Kādu encoding-u liec? Kādā encoding-ā ir ieejas dati? Link to comment Share on other sites More sharing options...
Dooling Posted June 13, 2007 Author Report Share Posted June 13, 2007 Lieku UTF-8 un ieejas dati ir UTF-8 Link to comment Share on other sites More sharing options...
andrisp Posted June 13, 2007 Report Share Posted June 13, 2007 iconv ir enablēts ? Link to comment Share on other sites More sharing options...
Dooling Posted June 13, 2007 Author Report Share Posted June 13, 2007 (edited) man PHP 5 versija, kur jau ir iconv ir iebūvēts Edited June 13, 2007 by Dooling Link to comment Share on other sites More sharing options...
v3rb0 Posted June 13, 2007 Report Share Posted June 13, 2007 vai ta nebija tā, ka m$ nedraudzejas ar utf-8? vismaz ar m$sql express un utf-8 bija interesanti ņemties, pat negribu atcerēties :D esmu sen arī pieminēto pear clasi izmantojis, bet tad konvertēju visu no utf8 uz windows-1257 ar iconv. Link to comment Share on other sites More sharing options...
andrisp Posted June 13, 2007 Report Share Posted June 13, 2007 Man kaut kā arī šķiet, ka excelim īpaši nepatīk utf-8. Vispār exceļa internālais (defaultais) charsets nebija UTF-16LE vai kas tāds ? Varbūt vajadzētu datus uz to grūst. Link to comment Share on other sites More sharing options...
Dooling Posted June 13, 2007 Author Report Share Posted June 13, 2007 Atrisināju šo lietu. Paldies v3rb0 par ideju. Realizēju konvertējot visu no utf8 uz windows-1257 ar iconv. Tikai viena īpatnība. Man Regional and Language Options Advanced sadaļā bija sākumā Russian uzlikts, tad bija ķeburi, bet kad nomainīju uz Latvian - viss bija ok. Link to comment Share on other sites More sharing options...
Recommended Posts