On this page
What this issue is
Computers store text as bytes. An encoding is the rule that maps bytes to characters. UTF-8 is the standard that covers every language. Mojibake (Japanese for 'character change') appears when text saved as UTF-8 is read as an older encoding such as Latin-1 (ISO-8859-1) or Windows-1252.
Typical symptoms: José becomes José, Zoë becomes Zoë, and Polish or Greek names turn into question marks or empty boxes. It can happen in the notification email, in the CRM record, in a spreadsheet export, or in the database behind the form.
Why it costs you leads or sales
A garbled name looks careless in your first reply and makes a prospect doubt you. It also breaks matching: the CRM may create duplicates, merge contacts wrongly, or fail to find an existing customer. Email personalisation like 'Hi José' goes out broken. Characters replaced with ? are lost for good, so the original cannot be recovered later.
- Visitor types JoséBrowser sends UTF-8
- Form handlerReceives and stores the value
- Database or email buildCharset is Latin-1, so bytes are misread
- Notification emailShows José
- CRM recordStores the garbled name
The break happens at one hop. Everything after it inherits the damage.
How to check if your site has it
Prepare a test string
Use a name such as
José Müller Zoë Łukasz Ωmega 山田. It covers accents, umlauts, Polish and Greek letters and CJK characters.Submit your live form
Use a test email address you control. Mark it as a test so your team knows to ignore it.
Check the notification email
Look at the body and the subject line. Subjects are encoded separately and often break on their own.
Check the CRM record
Open the new contact and compare the name with what you typed.
Check any export
Export to CSV and open it in Excel and Google Sheets. Excel often misreads UTF-8 CSV files without a byte order mark, which is a separate display issue from a true data fault.
How to fix it
The fix is always the same principle: use UTF-8 at every step and declare it. The settings differ by platform.
Check the database charset
In wp-config.php, make sure
define('DB_CHARSET', 'utf8mb4');is set. If the tables are still latin1, convert them with a backup first.Check the email plugin
In your SMTP or form plugin settings, make sure the email content type and charset are UTF-8. Send a test from the plugin's own test tool.
Test without extra plugins
If an email or CRM add-on garbles names, disable it briefly on a staging copy to confirm it is the cause.
Declare UTF-8 on the page
Add
<meta charset="utf-8">early in the head andaccept-charset="UTF-8"on the form.Set the database connection
Use
utf8mb4for the table, the column and the connection (for exampleSET NAMES utf8mb4or the charset option in your driver).Set the email headers
Send
Content-Type: text/html; charset=UTF-8and encode the subject (RFC 2047, for example withmb_encode_mimeheaderin PHP).
Check what you send onward
If a tag posts form values to a webhook or CRM, set the request header
Content-Type: application/json; charset=utf-8and send JSON rather than hand-built query strings.Encode URL values
Use
encodeURIComponent()in a custom JavaScript variable for any value placed in a URL.
Test the form inside GoHighLevel
Submit a test lead and open the contact. If it is correct there, the fault is in a later webhook or integration.
Check outgoing webhooks
Make sure the receiving endpoint reads the body as UTF-8.
Check the integration target
Webflow pages are UTF-8. If names break, the fault is usually in the Zapier, Make or webhook step or the CRM that receives the data. Check its charset setting.
$subject = mb_encode_mimeheader('New lead: ' . $name, 'UTF-8');
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
$headers .= "Content-Transfer-Encoding: 8bit\r\n";
mail($to, $subject, $body, $headers);Mixed encodings
- Name shows as José
- Subject line shows =?ISO-8859-1?...
- CRM holds the garbled value
UTF-8 end to end
- Name shows as José
- Subject renders correctly
- CRM matches what the visitor typed
How to confirm it's fixed
- Resubmit the test string and compare every character in the email body.
- Check the email subject line too.
- Open the CRM contact and confirm the name matches exactly.
- Test in at least two mail clients, such as Gmail and Outlook.
- Export a CSV and open it in a UTF-8 aware tool.
- Delete the test contact so it does not pollute your lists.
How to prevent it happening again
Most mojibake returns after a change: a new SMTP plugin, a CRM migration, a host move or a new automation step. Make non-ASCII test data part of every change you make to the lead path.
- Use utf8mb4 for new databases and tables.
- Always declare the charset in HTML, HTTP headers and email headers.
- Add one non-ASCII test lead to your release checklist.
- Re-test after changing hosting, SMTP provider, CRM or automation tools.
- Prefer JSON over hand-built text when passing data between systems.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor submits your form on a schedule and checks that the test lead reaches the inbox and CRM. The email content check on all fields flags garbled characters if they appear in the delivered message.
The limit: the test data FunnelGuard submits is ASCII. Plain ASCII text survives most encoding mistakes, so a setup that breaks only on characters like é, ü or 山 can pass the check. FunnelGuard therefore does not prove that real non-English names are safe.
Questions people ask
Why does José show up as José in my email?
The email contains UTF-8 text but is being read as Latin-1 or Windows-1252. Declare charset=UTF-8 in the email's Content-Type header and make sure the plugin or mail server does not convert it.
What is mojibake?
Mojibake is garbled text caused by decoding characters with the wrong encoding. It typically turns accented letters into strings like é or ü. The original data is often still intact if the text was only displayed wrongly.
Why do special characters turn into question marks in my CRM?
A question mark usually means a step converted the text to an encoding that cannot represent the character, such as latin1, and replaced it. That data is lost. Fix the encoding at that step, then ask the visitor to resubmit or correct the records by hand.
How do I fix garbled characters in WordPress form emails?
Check that DB_CHARSET is utf8mb4 in wp-config.php and that your SMTP or form plugin sends emails as UTF-8. Then submit a test with accented characters and check the body and the subject line.
Why is only the email subject garbled?
Subjects are encoded separately from the body. If the subject is not encoded per RFC 2047 with a UTF-8 charset, many clients show garbled characters even when the body is fine. Use your mail library's subject encoding function.
Why do accents break only when I open a CSV in Excel?
Excel often assumes a legacy encoding for CSV files without a byte order mark. Import the file using the Data tab and choose UTF-8, or save the export as UTF-8 with BOM. Your CRM data may be fine.
Can automated monitoring catch garbled names?
Partly. FunnelGuard flags garbled characters in the delivered email, but its test data is ASCII, so encoding faults that only affect non-English characters can slip through. A manual test with accented names covers that gap.
Related issues
- DLV-231Submission timestamp stored in UTC but shown as localFix guide
- DLV-232Date field format (DD/MM vs MM/DD) swapped in the CRMFix guide
- DLV-234Phone field rejects international formatsFix guide
- DLV-235Address/postcode validation rejects other countriesFix guide
- DLV-238Right-to-left languages break the email layoutFix guide
- DLV-236Currency wrong in order emails for multi-currency storesFix guide