Jump to content


Photo

Envio Não Reconhece Iso-8859-1


  • Faça o login para participar
16 replies to this topic

#1 claudio msilva

claudio msilva

    Novato no fórum

  • Usuários
  • 8 posts
  • Sexo:Masculino
  • Localidade:são paulo

Posted 24/01/2011, 13:25

Estou enviando dados por um formulário mas não reconhece acentos

No header tenho:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="pt-br" />
<head ('Content-type: text/html; charset=ISO-8859-1')>


No php

<?php

$headers= "MIME-Version: 1.0\r\n";
$headers= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers= "Content-Class: urn:content-classes:message\n";

$nome = $_POST["nome"];
$email = $_POST["email"];
$objetivo = $_POST["objetivo"];
$objetivo=preg_replace("/(\015\012)|(\015)|(\012)/","&nbsp;<br />", $objetivo);if($nome=="" || $email=="" || $objetivo=="" ){
$errors=1;
$error.="";
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
$error.="";
$errors=1;
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$userip = ($_SERVER['X_FORWARDED_FOR']) ? $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$message= utf8_decode($message);
$message="Nome: ".$nome."
E-mail: ".$email."
Objetivo: ".$objetivo."
";
$message = stripslashes($message);
mail("meu@site.com.br","Agendar ",$message," ");
?><?php
}
?>

ao receber os dados o que tem acento vem com interrogalça

#2 barizon

barizon

    Turista

  • Usuários
  • 33 posts
  • Sexo:Masculino
  • Localidade:MS

Posted 24/01/2011, 13:43

Estou enviando dados por um formulário mas não reconhece acentos

No header tenho:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="pt-br" />
<head ('Content-type: text/html; charset=ISO-8859-1')>


No php

<?php

$headers= "MIME-Version: 1.0\r\n";
$headers= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers= "Content-Class: urn:content-classes:message\n";

$nome = $_POST["nome"];
$email = $_POST["email"];
$objetivo = $_POST["objetivo"];
$objetivo=preg_replace("/(\015\012)|(\015)|(\012)/","&nbsp;<br />", $objetivo);if($nome=="" || $email=="" || $objetivo=="" ){
$errors=1;
$error.="";
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
$error.="";
$errors=1;
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$userip = ($_SERVER['X_FORWARDED_FOR']) ? $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$message= utf8_decode($message);
$message="Nome: ".$nome."
E-mail: ".$email."
Objetivo: ".$objetivo."
";
$message = stripslashes($message);
mail("meu@site.com.br","Agendar ",$message," ");
?><?php
}
?>

ao receber os dados o que tem acento vem com interrogalça


Já passei por este problema, você deve ter criado seu banco como UTF-8 o que é mais utilizado atualmente e da conflito com o iso-8859-1, faça assim:

no html:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

no php:
<?php

ini_set('default_charset','UTF-8');

?>

Espero ter ajudado!

#3 claudio msilva

claudio msilva

    Novato no fórum

  • Usuários
  • 8 posts
  • Sexo:Masculino
  • Localidade:são paulo

Posted 24/01/2011, 16:14

fiz o ajuste mas continua com o mesmo problema, o campo nome recebe assim

Nome: Cl??udio Manoel

....
html
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="pt-br" />
<head ('Content-type: text/html; charset=UTF-8')>

no php:
<?php

ini_set('default_charset','UTF-8');

?>

será que tem algo errado em
$objetivo=preg_replace("/(\015\012)|(\015)|(\012)/","&nbsp;<br />", $objetivo);if($nome=="" || $email=="" || $objetivo=="" ){
$errors=1;
$error.="";
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
$error.="";
$errors=1;
}
if($errors==1) echo $error;
else{
$where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
$userip = ($_SERVER['X_FORWARDED_FOR']) ? $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
$message="Nome: ".$nome."
$message = stripslashes($message);
mail("contato@corscarreira.com.br","Agendar sessão",$message," ");
?><?php
}

Attached Files



#4 Leonardo Garcia

Leonardo Garcia

    Normal

  • Usuários
  • 110 posts
  • Sexo:Masculino
  • Localidade:Londrina Paraná

Posted 24/01/2011, 19:23

coloca isso no corpo do email :

$headers = "Content-type: text/html; charset=iso-8859-1\r\n"; //acrescente esta linha no codigo

mail("meu@site.com.br","Agendar ", $message, $headers);// adicione o headers ao final da função.
Eu podia tá matando, roubando ou me prostituindo. Mas só quero um ponto.

#5 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 15/10/2017, 18:38

Cialis 20 Vidal Viagra Cialis Levitra Comparacion cialis buy online Achat Kamagra Au Canada
Buy Benicar Without A Prescription Levitra Curativo Noble Drugs Online Drugstore viagra online Viagra Werbung Video Buy Cialis C80 Zentel Best Website Discount Price Overseas Denver
Cialis Viagra Ligne canadian levitra Canadian Pharmacy Without Perscription Pediatric Dosage Of Keflex Buy Wellbutrin Online Without Rx

#6 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 15/10/2017, 19:58

Brand Viagra Buy viagra online What Does Amoxicillin Do Opinion Levitra Achat Baclofen En France
Where Can Ibuy Ivermectin For Humans viagra Cytotec Ivg Propecia Es Mirame Que Proscar Propecia After 5 Years
Buyrealviagraonlihenoperscription Mail Order Generic Progesterone Discount With Free Shipping Viagra Vs Cialis Vs Levitra Samples buy viagra Indian Kamagra Viagra Kaufen Bewertung

#7 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 16/10/2017, 02:20

Medicinale Cialis Qsymia No Prescription Online viagra Acheter Cialis Tadalafil En Ligne

#8 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 21/11/2017, 10:01

Amoxicillin Bacterial Reaction 24 Hours Canadian Pharmacy Order Now Fluoxetine viagra online Generic Finasteride Skin Viagra Pfizer Vente En Ligne
Oral Amoxicillin For Macaw Cytotec Temps DвÐâ¢action viagra online prescription Kamagra Oral Jelly Kaufen Gunstig
Is Kamagra Legal viagra Propecia Reasons High Blood Pressure Cheap Viagra Buy Pharmacy Online Now

#9 BobbyCak

BobbyCak

    договор ок

  • Usuários
  • 12238 posts
  • Sexo:Feminino
  • Localidade:Liberia
  • Interesses:115141

Posted 21/11/2017, 12:59

решение об одобрении сделки на площадке сбербанк аст образец

заявление конкурсному управляющему о выплате текущих платежей образец заполнения температурного листа при прогреве бетона договор о присоединении ооо к ооо образец 2017 заключение отчёта по практике пример п.1 ч.1 ст.77 тк рф соглашение сторон сбербанк анкета на ипотеку скачать бланк Счет фактура образец заполнения 2017 Образец дарственной на дом и земельный участок Образец акта о незаконном подключении к электросетям образец Боль. внизу живота при половом акте Анкета для родителей в детском саду давайте познакомимся туалетная вода монт бланк мужская как сделать цыплят из пластиковых бутылок пошаговая инструкция заявление на дистанционное обучение в школе заявление об участии в государственной программе по оказанию содействия исковое заявление о возмещении денежных средств образец сообщение о смене реквизитов образец образец гарантийного письма об оплате долга простой вексель образец заполнения Исковое заявление о незаконном увольнении Образец заполнения формы 2 тп отходы Расторжение договора управления мкд по инициативе управляющей компании Решение наблюдательного совета автономного учреждения образец Соглашение о замене стороны в договоре образец паспорт на пиломатериалы образец сзв м новая форма 2017 бланк образец заполнения

договор на сушку пиломатериала заполнение платежной ведомости т 53 образец заполнения устав ооо в новой редакции 2017 года образец

заявление о признании дома аварийным образец как плести косу водопад пошаговая инструкция постановление правительства рф от 17.02.2014 113 справка на водительское удостоверение красноярск Письмо о продлении договора образец доверенность на прекращение регистрации транспортного средства образец договор по уходу за пожилым человеком образец скачать заявление на согласие на обработку персональных данных образец письмо контрагенту об уточнении назначения платежа образец благодарственное письмо компании за хорошую работу образец наряд допуск на производство работ на высоте образец заполнения 2017 образец объяснительной записки об ошибке в работе заявление о выдаче вида на жительство бланк 2017 кассационная жалоба на апелляционное постановление арбитражного суда приказ о внутреннем совмещении образец заявление о предоставлении налогового вычета образец положительная характеристика на мать ребенка образец заполнить заявление на патент онлайн 2017 образец акта простоя автотранспорта

образец заявления на перерегистрацию транспортного средства 2017 условия конфиденциальности в договоре пример заявление на перерасчет воды по счетчикам образец

#10 bfcm96

bfcm96

    Normal

  • Usuários
  • 101 posts
  • Sexo:Masculino
  • Localidade:perking

Posted 21/11/2017, 15:46

dog ugg boots
rubber sole ugg boots
classic tall ugg boots on sale
waterproof spray for ugg boots
cheap womens ugg boots uk
bailey ugg boots
discount ugg boots
emu ugg boots
deals on ugg boots
ugg bow boots
short ugg style boots
ugg boots cleaning
ugg boots australia cheap
ugg boots u s
ugg boots review
male ugg boots uk
what to wear with ugg boots
ugg adirondack boots
kurt geiger ugg boots
ugg boots shop
childrens black ugg boots
sparkle ugg boots
ugg boots kids
sainsburys ugg boots
fluffy ugg boots
resoling ugg boots
ugg bomber boots
cheep ugg boots
ugg lynnea boots
how much are ugg boots in new york
bailey button ugg boots uk
size 6 ugg boots
ugg boots for children
mens ugg boots uk
ugg boots from america
short ugg boots
ugg boots bristol
ugg petra boots
cheap ugg boots uk sale
cheap ugg boots size 5
ugg boots leather sale
black ugg boots size 6
kids ugg boots size 3
kids kensington ugg boots size 5
ugg chestnut leather boots
ugg boots for sale
ugg boots leather uk
ladies ugg boots
selfridges ugg boots
classic tall chestnut ugg boots
outdoor ugg boots
mens leather ugg boots
ugg gershwin leather buckled boots black
ugg joey boots
ugg boots for kids on sale
grey short ugg boots
wedge ugg boots new look
ugg boots uk
suede ugg boots
infant ugg boots
harrods ugg boots
ugg boots chelsea
ugg ankle boots sale
cheap classic ugg boots
what size ugg boots should i get
ugg boots sale clearance
ugg type boots uk
how to look after ugg boots
chocolate ugg boots tall
genuine ugg boots
can you dye ugg boots
ugg boots red
ugg winter boots
ugg boots size 5.5 uk
kensington ugg boots
tk maxx ugg boots
ugg womens elissa boots chocolate
tall ugg boots sale
ugg bailey button boots
ugg style boots for less
black mini ugg boots
ugg boots in sale
fake ugg boots for sale
ugg boots aberdeen
resole ugg boots
ugg grandle boots black
girls pink ugg boots
ugg boots with zip
ugg boots ebay
burgundy ugg boots
ugg boots cheap china
ugg boots sizing
purple ugg boots
knee high ugg boots
ugg slipper boots uk
brown leather ugg boots uk
ugg boots baby
ugg boots original australia
baby ugg boots
ugg boots student discount

taglia 1 moncler
moncler e shop
moncler vangsgaard
moncler nerium
moncler beanie
moncler s mitsuko
moncler amsterdam
moncler størrelser
moncler outlet
moncler garantie authentique number
moncler w polsce
moncler polo pris
moncler a verona
moncler y online
moncler y kiku
moncler 3 beden
moncler ioffer
moncler jakke dame kort
moncler jacket uk sale
moncler albert
jay z moncler
moncler 2016 collection
moncler aarhus
moncler e store
moncler københavn udsalg
moncler xs
doudounes moncler d'occasion
pris på moncler jakke
moncler 5th avenue
gröÃe 0 moncler
moncler o peuterey
moncler jacket vest
moncler x off white black swan
moncler e le oche
moncler clovis
moncler udsalg
moncler jacket fake
moncler g32-003 nf en 12934
moncler 80 off
moncler italy
moncler garin
moncler cardigan
moncler 3 badge
moncler hue herre
moncler kasket
moncler trøjer til mænd
moncler 8-14
moncler o duvetica
moncler jacket comic
moncler vindjakke
kim k moncler jacket
moncler jacket zara
moncler zind
moncler lang jakke
moncler jakke 2017
moncler i usa
moncler tyskland
moncler 7 rue du faubourg saint honoré
moncler
moncler lans jakke
pris på moncler jakker
moncler jakke lyngby
moncler børn
drake moncler jacket
moncler jakker 2015
moncler puffer jacket
moncler bady
moncler jakke mænd dba
moncler a napoli
moncler x poldo
moncler suit
moncler down jackets
moncler armoise jacket
moncler v neck
moncler winter jacket mens
moncler i aalborg
moncler qr scanner
moncler white cap
moncler geant
moncler jakker men
moncler forhandler århus
moncler v kaniho
moncler jacket italy
moncler tracksuit mens
moncler womens
moncler womens jacket with fur hood
moncler villaret jacket
cheap moncler jackets
moncler århus
moncler 2 years
moncler jacket ebay
moncler 30
kurtka moncler z jenotem
moncler taglia 0
moncler jakke str
moncler jakke norge
moncler i århus
moncler skjorte
taglia 5 moncler corrisponde
moncler jakke mand

pandora charm per bracciali
prezzi ciondoli pandora
splinter cell pandora tomorrow walkthrough part 1
outlet pandora romania
givenchy pandora medium sale
pandora delicate bow ring rose gold
nodo definicion
pandora via paoli cagliari
creare bracciali pandora
pandora app not working on iphone
bracciale pandora disney
clip pandora
come si pulisce il bracciale di pandora
pandora filmweb
pandora ciondolo cuore con ali
ciondoli pandora san valentino 2016
pandora crown rings rose gold
pandora resort koh samet
pandora disney charms uk release date
bracciali pandora uomo misure
costo anello pandora love
pandora black rhodium necklace
pandora duomo milano
pandora maschile charms
bracciali pandora portafortuna
bracciale essence pandora prezzo
ciondoli per bracciali pandora prezzi
bracciale perline pandora
orecchini di perle pandora
pandora parma centro torri
recensioni pandora licia troisi
immagini ciondoli pandora 2016
pandora hearts wallpaper full hd
pandora box donna summer lyrics
come pulire l'argento pandora
pandora parma via cavour
negozi pandora serravalle scrivia
pandora bergamo centro orari
professor layton e lo scrigno di pandora
pandora jewelry amazon
anello pandora cuore rosa
foto pandora maschile
pandora my princess ring review
pandora negozio verona
pandora bracciali negozi udine
pandora hearts xerxes break tumblr
pandora location in philippines
pandora rose gold crown ring
pandora net club jewellery
pandora orecchini fiocco di neve luccicante
bracciale pandora è da uomo
il vaso di pandora significato
pandora valentines 2015 promotions
pandora jewellery malaysia price
rivenditori pandora piazza bologna roma
pandora farfalla amicizia
pandora catenina di sicurezza a cosa serve
distanziatori pandora cuoricini
pandora bluetooth issues
estetica pandora forli
bracciale pandora turchese
pandora promo 2016 canada
significato ciondolo pandora
pandora collane fiori
pandora trailer ita
clip bracciale pandora a cosa servono
bitfenix pandora core review
pandora sesto san giovanni mi
pandora anelli sconto
pandora's star amazon uk
ciondolo pandora figlia prezzo
koukaku no pandora sub indo mkv
pandora conegliano
original pandora charms amazon
pandora gold earrings australia
pandora foggia
pandora armband selbst öffnen
pandora disney 2017
pandora gioielli sito italiano
ciondoli pandora maschili prezzo
lagostina pandora pentola a pressione prezzi
collana pandora cuore prezzo
charm pandora fiocco di neve luccicante
orecchini pandora fiore prezzo
korg pandora px3b review
pandora per stream rate
pandora jewellery online shopping
pandora torino corso moncalieri orari
pandora jewelry outlet near me
pandora box 3 lista de jogos
anello pandora trova prezzi
pandora earrings ph
elefantino pandora prezzo
pandora charms official website uk
pandora store
chiusura pandora difettosa
distanziatore pandora amazon
pandora shop online ireland
pandora hearts alice e oz kiss
pandora charms outlet canada


#11 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 21/11/2017, 19:20

Buy Oxetine Orlistat Medication viagra Cheap Real Fluoxetine Best Buy
Dutasteride Tablet No Prescription Zocor Quotazione Propecia viagra Cialis In Sam Club
Side Effects Of Cephalexin Mexican Pharmacies That Ship levitra plus Buy Propecia Online 20mg
Cialis Afecta La Prostata Cialis Prix Moyen En Pharmacie viagra Com Kamagra In Linea Macrobid In Australia
Tab Macrobid No Prescription Needed viagra Precios Cialis En Farmacias Zithromax One Day Treatment
Levitra Now Online viagra What Is Generic Levitra Called Propecia Medicine Hair Loss

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 22/11/2017, 07:01

Cialis Non Prescription Needed Usa generic viagra Echantillon Cialis Gratuit Keflex Low Glucose
Canadian Healthcare Cephalexin And Turtle Propecia Work On The Temples cialis buy online Levitra Rezeptfrei Auf Rechnung Cialis Generika Ajanta Cialis Funzionamento

#13 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 22/11/2017, 07:07

Buy Ciprofloxacin Uk Canadianphamarcy24 viagra Where To Buy Clomid Online Safely Hydrochlorothiazide 25mg
Cialis Twitter levitra non prescription Generic Keflex Pills What To Use Instead Of Alli Diet Drug

#14 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 23/11/2017, 20:35

Priligy Generico En Argentina Canadian Pharmacuticals Generic Viagra Ampicillin Cvs Over The Counter cialis Buy Propecia No Prescription Uk
Vigra Price Propecia Canas levitra with dapoxetine Buy Levitra Online With Paypal Arthralgie Clomid Best Online Penicillin
Amoxicillin Dosage Chicken viagra Viagra 25 Mg Precio Propecia Online Buy

#15 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 27/11/2017, 10:32

Achat Du Levitra En Belgique Comparaison Cialis Et Viagra How To Get Cialis Without Doctor online pharmacy Can I Purchase Legally Fluoxetine Real Medication Cheapest Viagra Soft 100 Mg Kamagra Boots
Levitra 20mg Prix Vendita Cialis Italia Viagra A Firenze pharmacy prices for levitra Propecia Without A Prescription
Keflex And Cats Keflex Info Zithromax For Pregnant Women levitra sold over the counter Buy Propecia In Europe Acheter Viagra Generique En France
Viagra Hombre online pharmacy Viagra Dosierung
Prix Boite De Lioresal Ciprofloxacin Crystalluria cialis online Lioresal Vente 25mg Cialis In Gelsenkirchen Allergic To Amoxicillin Hereditary




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq