Re: Kodovani v emailech

From: <petr.novak (zavinac) vitana.cz>
Date: 04. 02. 2004, 08:34 CET
                                                                                                                                       
                      "Petr Pokorny"                                                                                                   
                      <mail@pp21.cz>               Komu:  <servis-internet@nawebu.cz>                                                  
                                                   Kopie:                                                                              
                      04.02.2004 08:22             Předmět:  Re: Kodovani v emailech                                                   
                      Odpovězte prosím                                                                                                 
                      uživateli                                                                                                        
                      servis-internet                                                                                                  
                                                                                                                                       
                                                                                                                                       






>1.
>Nastav si kodovani e-mailu na takove ve kterych mas ty data. Proste pridas
>odpovidajici hlavicky do funkce mail();
>http://cz.php.net/manual/cs/function.mail.php

>$headers = "Content-Type: text/plain; charset=iso-8859-2";
>mail($email, $subject, $body, $headers);

>a nebo

>$headers = "Content-Type: text/plain; charset=windows-1250";
>mail($email, $subject, $body, $headers);

tak to bych mel (jen doplnim, ze ve skriptu, ktery jsem poslal pred chvili
do konve, mam uvedeno kodovani win-1250; ve skutecnosti tam mam samozrejme
windows-1250)

>2.
>Prekoduj text e-mailu do spravneho kodovani.
>Muzes k tomu pouzit treba funkce iso2win() a win2iso() z knihovny utfcov
>od Arthura Denta (alias Martin Maly)
>http://www.maly.cz/dl/utfconv.txt

tu zpravu ale nepisu ja, nybrz nekdo uplne jiny, respektive ten, kdo
vyplnuje form. Tezko ho budu presvedcovat, aby pouzil tuhle fci.

>A pak taky nezapomen ze subject, from a to by nemely obsahovat 8 bitove
>znaky. A pokud ano tak je zakodovat.

Terr






*****************************************************************************
This document should only be read by those persons to whom it is addressed
and is not intended to be relied upon by any persons without subsequent
written confirmation of its contents. Accordingly, Rieber & Son
disclaim all responsibility and accept no liability (including in negligence)
for the consequences for any person acting, or refraining from acting, on
such information prior to the receipt by those persons of subsequent
written confirmation.

If you have recieved this E-mail message in error, please notify us
immediately by telephone. Please also destroy and delete the message from
your computer.

Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this E-mail message is strictly 
prohibited.

Rieber & Son ASA
postmaster@rieberson.no
Bergen, Norway

*****************************************************************************
Received on Wed, 4 Feb 2004 08:34:10 +0100

This archive was generated by hypermail 2.1.8 : 04. 02. 2004, 08:34 CET