Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8075657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:03:59+00:00 2026-06-05T15:03:59+00:00

I have a contact page (contact.php) that sends a form (formsend.php) when people fill

  • 0

I have a contact page (contact.php) that sends a form (formsend.php) when people fill in the contact details.

The contact.php has:

<!DOCTYPE html>
  <html lang="pt-br">
    <head>
      <meta charset="ISO-8859-1">

Contact.php page is fine, displays my latin Portuguese characters fine (ã, é, etc).

But when I receive the email (when it uses formsend.php), I get the fields people signed up with messed up characters: João is João, etc.

On formsend.php I’ve tried adding:

$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";

and

 header('Content-Type: text/html; charset=iso-8859-1');

and

<!DOCTYPE html>
  <html lang="pt-br">
    <head>
      <meta charset="ISO-8859-1">

as well. Nothing works.

It seems it’s the formsend.php file that is failing here.

What can I do to ensure I receive properly formatted characters in the email with the user’s info?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:04:00+00:00Added an answer on June 5, 2026 at 3:04 pm

    Yes you may try to switch utf-8:
    and also do not forget to change header info
    header(‘Content-Type: text/html; charset=utf-8’);
    but also you need to convert user inputed text to utf-8 in this case you will have no problem… I had the same problem with Armenian…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a one page site that has PHP code in it. Once the
I have a website that has an index.php, a few simple .html pages and
I have a basic PHP form here that sends an email when submitted: <div
I have a contact form that I'm writing using jQuery and PHP. Below is
The basics: I have a contact form that uses php to validate the forms.
I've got a basic PHP contact form and have it process.php file that checks
I have an HTML form that posts to a php script that then emails
I have page, i can contact directly without any problems. http://www.mysite.com/app_dev.php/comments/22 the page shows
I have a user profile page on my web app which has contact information.
I have the typical HTML "contact me" page, i.e. name, e-mail address and message.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.