Slammer Posted December 31, 2006 Report Share Posted December 31, 2006 Svieciens vecgada vakarā :) Lai saņēmējs redzētu vēstuli latviešu valodā viegli var pievienot mail f-jas 4. parametru - headers, kurš izskatās apmēram šādi: $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n"; Ko lai dara ja grib, lai subject teksts arī attēlojas latviešu valodā? Link to comment Share on other sites More sharing options...
Val Posted December 31, 2006 Report Share Posted December 31, 2006 1257 Link to comment Share on other sites More sharing options...
Slammer Posted December 31, 2006 Author Report Share Posted December 31, 2006 Jautājums bija cits Link to comment Share on other sites More sharing options...
andrisp Posted December 31, 2006 Report Share Posted December 31, 2006 (edited) Hmm.. $header = 'Subject: =?WIN-1257?B?'.base64_encode($subj).'?=\r\n'; Neesmu tikai paarliecinaats vai shitaa jaapieraksta kodeejums. Edited December 31, 2006 by andrisp Link to comment Share on other sites More sharing options...
Slammer Posted January 1, 2007 Author Report Share Posted January 1, 2007 Nu vispār tas andrisp kods nedarbojas.. ir kādas idejas citiem? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 1, 2007 Report Share Posted January 1, 2007 savaa laikaa saskaaros ar sho pashu probleemu.. palasi sheit... bet diemzeel unversaala risinaajuma nav :( Link to comment Share on other sites More sharing options...
andrisp Posted January 1, 2007 Report Share Posted January 1, 2007 Grey_Wolf, nu nez - tu tajaa vecajaa postaa nepareizi dariiji. Ir risinaajums - taads kaa apt. teicu (Grey_Wolf postaa tas pats noraadiits). Man ar utf-8 normaali vareeja subjektu izlasiit gan ieksh gmail, gan yahoo, gan inbox, gan one.lv, gan thebat. Citur netesteeju, bet domaaju visam vajadzeetu buut ok. Domaaju ar win-1247 arii nevajadzeetu buut probleemaam. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 1, 2007 Report Share Posted January 1, 2007 andrisp --> tur jau taa lieta ka bija probleemas :( skjiet ka Inbox.lv nenjeema preti ... godiigi sakot neatceros.. + es veidoju tikai dalju no lapas... taa kaa kodejumu nenoteicu, iespeejams ka ar UTF-8 viss ir ir Ok. P.S. skjiet ka bija probleemas , ka vai nu gaaja uz visiem web mailiem, bet negaaja uz outlook un 2traadi... , bet kaa jau mineeju netceros... Link to comment Share on other sites More sharing options...
Recommended Posts