Loading ...
Sorry, an error occurred while loading the content.

Re: convert ISO-8859-7 to utf-8 ??

Expand Messages
  • go8p
    telika doulepse opws to perigrafo parakatw. opws swsta eipate, xreiasthke na valw kai ta eksis meta to mysql connector. mysql_query( SET NAMES UTF8 );
    Message 1 of 9 , Jun 24, 2008
    • 0 Attachment
      telika doulepse opws to perigrafo parakatw. opws swsta eipate,
      xreiasthke na valw kai ta eksis meta to mysql connector.

      mysql_query('SET NAMES "UTF8"');
      mysql_query("SET collation_connection='utf8_general_ci'");
      mysql_query("SET collation_server='utf8_general_ci'");
      mysql_query("SET character_set_client='utf8'");
      mysql_query("SET character_set_connection='utf8'");
      mysql_query("SET character_set_results='utf8'");
      mysql_query("SET character_set_server='utf8'");





      --- In php_greek@yahoogroups.com, tilemachos anonymous <go8p@...> wrote:
      >
      > se euxaristw. to problhma mou einai oti egine allagi
      > sto server me apotelesma ta dedomena mou na einai se
      > iso-8859-7 enw to phpmyadmin ta dinei se utf-8. to
      > apotelesma einai oti den mporw na ta dw swsta para
      > mono an ta trabhksw apo php me encoding to iso. den
      > mporw na doulepsw apeu8eias sth bash alla mono mesw
      > kapoiou admin panel!
      >
      > tespa, euxaristw polu gia th syneisfora. elpizw kati
      > na brw
      >
      >
      >
      > --- Symeon Charalabides <symeon@...> wrote:
      >
      > > De gnorizo allo tropo, panta me Word to kano. Ehe
      > > yp'opsin pos
      > >
      > > 1. an douleveis me MySQL 5, prepei na eheis kanei
      > > enable UTF-8 support kata tin egatastasi kai
      > >
      > > 2. epeidi i MySQL 5 kanei default se kapoio
      > > latin-swedish-kati_tetoio, gia na travixeis ta
      > > apotelesmata sou kanonika se UTF-8, prepei na kaneis
      > >
      > > mysql_query("SET CHARACTER SET 'utf8'", $link);
      > >
      > > amesos meta to mysql_connect kai mysql_select_db.
      > > Koinos, prepei na einai to proto sou query kathe
      > > fora pou syndeesai.
      > >
      > > 3. A, prepei na eheis kai to antistoiho HTML header
      > > ;-)
      > >
      > >
      > > Symeon Charalabides (cosmopolite trainee)
      > > -----------------------------------------
      > > http://www.systasis.com
      > >
      > >
      > > > -------Original Message-------
      > > > From: go8p <go8p@...>
      > > > Subject: [php_greek] Re: convert ISO-8859-7 to
      > > utf-8 ??
      > > > Sent: 23 Jun '08 20:35
      > > >
      > > > se euxaristo polu gia thn grigori apantisi.
      > > > dustuxws to exw (ksana-)dokimasei sto parel8on
      > > alla den doulepse.
      > > >
      > > > mipws yparxei alli idea? skeftomoun gia kati
      > > server side
      > > >
      > > >
      > > >
      > > > --- In php_greek@yahoogroups.com, "Symeon
      > > Charalabides" <symeon@>
      > > > wrote:
      > > > >
      > > > > 1. Kaneis dump kai eheis oli sou ti vasi se
      > > arheio (ISO)
      > > > > 2. Anoigeis to arheio sto MS Word
      > > > > 3. Save As -> Text (.txt)
      > > > > 4. Otan se rotisei se ti character set to
      > > theleis, vriskeis to UTF-8
      > > > sti lista
      > > > > 5. Fortoneis to kainourio sou dump sti MySQL
      > > > > 6. Teleia.
      > > > >
      > > > >
      > > > > Symeon Charalabides (cosmopolite trainee)
      > > > > -----------------------------------------
      > > > > http://www.systasis.com
      > > > >
      > > > >
      > > > > >  -------Original Message-------
      > > > > >  From: go8p <go8p@>
      > > > > >  Subject: [php_greek] convert  ISO-8859-7
      > > to utf-8 ??
      > > > > >  Sent: 23 Jun '08 19:14
      > > > > >  
      > > > > >  Kalispera sas,
      > > > > >  
      > > > > >  sth mysql basi mou ola ta dedomena einai
      > > se ISO-8859-7 kai 8elw na ta
      > > > > >  metatrepsw (convert) se utf-8. gnwrizei
      > > kaneis kanena scriptaki h
      > > > > >  kolpaki gia na ginei auto?
      > > > > >  
      > > > > >  euxarisw.
      > > > > >  
      > > > > >  
      > > > > >  
      > > > > >  ------------------------------------
      > > > > >  
      > > > > >  --
      > > > > >  Ã…ëëçíéÃÂ�Þ PHP
      > > mailing listYahoo! Groups Links
      > > > > >  
      > > > > >  
      > > > > >  
      > > > > >
      > > > >
      > > >
      > > >
      > > >
      > > > ------------------------------------
      > > >
      > > > --
      > > > ÅëëçíéÃ�Ã� PHP mailing listYahoo! Groups
      > > Links
      > > >
      > > >
      > > >
      > > >
      > >
      > > ------------------------------------
      > >
      > > --
      > > ÅëëçíéêÞ PHP mailing listYahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.