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 8098973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:15:06+00:00 2026-06-05T22:15:06+00:00

My form has issues with latin characters (portuguese). If the user submitted his info

  • 0

My form has issues with latin characters (portuguese). If the user submitted his info with special characters, I get the info on my email with messed up characters. The rest is fine (the form page presents special characters ok, it’s only the emails I receive that have messed up characters with the user’s info).

Long story short, I may have found where to fix it. The Where, but not the How.

Here is the bit where I think it can be fixed:

    $content = $fields['name'] . " has sent you a message through the your Form:\r\n\n";
    $content .= "-------\n" . $fields['message'] . "\r\n\n";
    $content .= "Contact reason: " . $fields['contact_reason']
            . " \n\nEmail: " . $fields['email']
            . " \n\nPhone: " . $fields['phone'] . " \n\n";

How to add some code to it so that i can convert the user input data to ISO-8859-1? Or is this not the right place to do it?

P.S.: This is a script I purchased. The owner did not reply back and does not offer support.

  • 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-05T22:15:07+00:00Added an answer on June 5, 2026 at 10:15 pm

    Firstly, you must know whether the Portuguese characters can be fully converted to ISO-8859-1 (check this, not even all European languages can be converted, e. g. Hungarian ő and ű can’t be converted to ISO-8859-1). If not, you’ll have to change settings of your email. If yes, you might want to use utf8_decode, mbstring or iconv.

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

Sidebar

Related Questions

This form has a NotifyIcon object. When the user clicks on the Close button,
If a form has same tag repeatedly, how to get its value in JavaScript?
what is the reason that ms-access DBs sometimes has corruption issues? if a form
I have discovered a strange issues with gmail where if my HTML email has
I get a form filled from the user through browser.. I enter the values
Form has the DoubleBuffered property (bool, inherited from Control). If this is set to
The form has one or more groups of radio buttons on it. It is
My form has a custom element like below, created using custom ajax: <select jwcid=testtest
My form has several numeric up down controls. All of these controls, when changed,
The background: My form has a TWebBrowser. I want to close the form with

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.