E-commerce

How to correctly display special characters in HTML?

How to correctly display special characters in HTML?

October 30, 2026

Wondering how to publish symbols like ©, ®, or French accents without breaking the text?

In just a few lines, use HTML entities: they replace the actual character with a code recognized by all browsers.

This technique prevents display errors, improves SEO, and ensures a consistent customer experience, even for multilingual content.

Additionally, Qstomy automatically analyzes your text and suggests the most appropriate entities, saving you time and reducing the risk of bugs.

So, how to correctly display special characters in HTML? Here is the program:

  • Why do some characters not display correctly in HTML?

  • What are the most common special characters to code?

  • How does Qstomy simplify the insertion of these symbols into your store?

  • What impact do these characters have on your site's SEO?

  • What checklist should you follow before publishing content containing special characters?

Let's go.

Thanks to these best practices, your store gains professionalism, avoids customer returns related to display errors, and strengthens its positioning on search engines.

Summary

Why do some characters not display correctly in HTML?

HTML reads text as code. Characters like the ampersand (&) or the chevron (<) sont réservés à la structure du document : ils indiquent le début d’une balise ou d’une entité. Si vous tapez directement ces symboles, le navigateur les interprète comme des instructions, ce qui provoque des erreurs d’affichage ou même des ruptures de mise en page. La solution consiste à remplacer chaque caractère réservé par son entité HTML, c’est‑à‑dire une séquence commençant par « & » et se terminant par « ; ». Cette petite conversion garantit que le texte apparaît exactement comme vous le souhaitez, quel que soit le navigateur utilisé.

It is recommended to always check the source code after insertion to ensure no tags were accidentally closed. Qstomy offers a highlighting function for non-encoded characters that speeds up validation and prevents surprises during deployment.

Additionally, consistent use of entities reduces debugging time during theme updates and ensures future compatibility with new browser versions.

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

What are the most common special characters to code?

Here is a selection of the most encountered symbols in product pages and newsletters:

  • © : Copyright → &copy;

  • ®: Registered trademark → &reg;

  • € : Euro → &euro;

  • £ : Livre sterling → &pound;

  • « and » (&): Ampersand → &amp;

  • < <: Less than

    → &lt;

  • > >: Greater than

    → &gt;

By mastering these entities, you avoid display problems and ensure smooth reading on all devices.

Also consider rare currency characters like ¥ (¥) or ₹ (₹) when dealing with international sales; they have their own entities &yen; and &inr; which you can insert via the Qstomy selector.

Do not forget to add entities for mathematical symbols like ± (&plusmn;) or ÷ (&divide;) when creating usage guides for calculations or tiered pricing.

How to write the © symbol in HTML?

The copyright symbol frequently appears in legal notices. Instead of typing the © character directly, use the entity « &copy; ». Example:

<p>© 2026 Ma Boutique Shopify</p>

The code will be rendered as « © 2026 My Shopify Store » in the browser. This method also works in product description fields, automated emails, and help pages. For variants, there is &copy for the simple symbol and &COPY; for the same entity in uppercase, both recognized by modern browsers.

When using multiple licenses (e.g., © 2026, 2027), simply repeat the entity at each occurrence to ensure constant visibility, and Qstomy can do this automatically by detecting the « © » pattern in your text.

If you need to display the © symbol in an alt attribute or a meta tag, the entity works the same way, ensuring optimal SEO compliance.

How to integrate French accents (é, è, à) in HTML?

Accents are essential for the French language, but they can cause issues when the file is encoded in ASCII. Two approaches exist:

  • Use UTF‑8 encoding (recommended): most Shopify themes accept it automatically, and characters display without any conversion.

  • Use HTML entities: &eacute; for « é », &egrave; for « è », &agrave; for « à », etc.

Exemple : <h1>Corner Café</h1> will display « Corner Café ». Qstomy automatically detects accents in your titles and proposes the appropriate code if your store is not UTF‑8.

For languages using ligatures (œ, æ) or rarer diacritical characters, the entities &oelig; or &aelig; ensure reliable rendering on older browsers, which Qstomy flags in its compliance report.

For languages supporting combined characters, such as Canadian French or Breton, Unicode notation (é) is a reliable alternative recognized by all modern browsers.

How to display the « & » character without breaking the code?

The ampersand introduces entities, which is why it must be encoded when part of the text. Use « &amp; ». For example, to indicate a promotion « 30 % & special offer », write:

<p>30 % &amp; special offer</p>

The rendering will be « 30 % & special offer ». Qstomy includes a « Insert Special Character » button in the product description editor, avoiding the need to memorize every code.

In addition to the ampersand, the same principle applies to currency symbols and mathematical signs. The assistant can even suggest typographic variants (e.g., « &‑nbsp;» for a non-breaking space) to optimize layout.

Also use the entity &#38; when text is exported to third-party systems that do not recognize &amp; to avoid any loss of meaning.

How to handle «  » signs in text?

Angle brackets delimit HTML tags. To display them in the body text, replace them with their entities: &lt; for « < » et &gt; pour « > ». Exemple :

<p>Use the syntax &lt;div&gt; to create a section.</p>

The browser will display: « Use the syntax

to create a section. ». This technique is essential in user guides or technical tutorials published on your store.

If you need to show full source code (e.g., a JavaScript script), it is recommended to wrap everything with the tag <pre> and convert each angle bracket to avoid page breaks. Qstomy offers a « code snippet » mode that applies these conversions automatically.

When publishing code snippets in a blog post, encapsulate them in <code> or <pre> and ensure each angle bracket is encoded to preserve rendering integrity.

What is the difference between a WYSIWYG editor and manual coding for special characters?

Visual editors like Dreamweaver or the Shopify description tool automatically convert keystrokes into entities: you type <,> or & and the software inserts &lt;, &gt; or &amp;. This speeds up creation and minimizes errors. However, developers who code manually gain more control: they choose exactly which entities to use and avoid superfluous tags. Qstomy combines both approaches: its WYSIWYG interface offers a « Special Characters » menu that inserts the correct entity, while keeping the source code accessible for advanced users.

For users who wish to customize further, Qstomy allows creating reusable snippets containing the most frequent entities, reducing the writing time for each product page.

Developers can also disable the WYSIWYG auto-encoding mode when they prefer to compose their entities manually for granular control.

How to test HTML entity compatibility across different browsers?

Most modern browsers support standard entities, but it is prudent to verify:

  • Preview your page in Chrome, Firefox, Safari, and Edge.

  • Use the W3C validation tool (validator.w3.org) to detect syntax errors.

  • Test mobile versions via the Chrome DevTools emulator.

If you encounter an issue, ensure the file is properly encoded in UTF‑8 and that entities are correctly closed with a semicolon. Qstomy offers instant mobile previews in its dashboard, avoiding back-and-forth.

An additional test involves copying and pasting the code into a plain text editor (Notepad++) to verify that no entity remains incomplete, a practice recommended when multiple collaborators edit the same content.

After testing, remember to clear Shopify's CDN cache to ensure the updated version with new entities is immediately visible to visitors.

What impact do special characters have on my store's SEO?

Search engines read the source code. An unencoded character can be interpreted as a broken tag, which harms indexing. However, properly used entities are neutralized and do not affect crawling. Additionally, symbols like the copyright or euro sign enhance content relevance for local queries. Consult our article E-commerce SEO strategy for category pages to further optimize your titles and meta-descriptions containing these symbols.

Google also recommends using entities for rarely used characters in URLs to avoid missing-page errors. Qstomy automatically generates encoded versions of URLs containing special characters, protecting your SEO positioning.

Additionally, search engines value properly placed entities in title and h1 tags, which improves the relevance of snippets displayed in results.

How does Qstomy simplify inserting special characters into your product descriptions?

["Qstomy's AI assistant analyzes the text you are writing and automatically suggests appropriate entities as soon as it detects a reserved character. You can click the "Insert symbol" button to choose from a list of over 150 characters (©, ®, €, £, « &","] <,>["", etc.). The system integrates directly into the Shopify editor, as well as into transactional emails generated by Qstomy. Thus, you save time, avoid syntax errors, and improve the readability of your product pages."]

Additionally, Qstomy maintains a history of inserted entities, allowing you to quickly reuse the same symbols on other pages or export them to external marketing documents.

The assistant also keeps a log of accepted suggestions, enabling compliance audits and optimizing the writing process over time.

How does Qstomy help manage special characters in confirmation and tracking emails?

Post-purchase notifications often contain currency symbols or legal mentions. Qstomy inserts the necessary entities during email template generation: 'Your order has been shipped' with the € symbol becomes &euro; in the plain text. Additionally, AI verifies that every special character is correctly encoded for customers reading messages on mobile or via various email clients. This control layer reduces support tickets related to corrupted display and strengthens customer trust.

The tool also offers a 'multi-platform preview' mode that shows how the same email appears in Gmail, Outlook, and instant messaging apps, ensuring visual consistency.

Furthermore, the tool checks the encoding of attached PDF files or SVG images inserted into emails to avoid corrupted characters.

What checklist should you follow before publishing content containing special characters?

In short

  • Verify that your file is in UTF‑8.

  • Replace each reserved character (&, <,>by its corresponding entity.

  • Use entities for symbols ©, ®, €, £, etc.

  • Preview on major browsers and mobile devices.

  • Test automated emails via the Qstomy preview feature.

FAQ

  • Do I always need to code accents? No, if your site uses UTF‑8. Otherwise, prefer entities like &eacute;, &egrave;…

  • What is the risk of forgetting the semicolon? The browser does not recognize the entity and will display the raw text, creating a visual bug.

  • Can Qstomy automatically correct a published page? Yes, the tool offers a 'compliance scan' that replaces non-encoded characters.

By following these steps, you ensure a clean presentation, optimal SEO, and a consistent customer experience.

To go further: How to create a payment gateway for an e-commerce site? - Qstomy, What is Google Shopping for e-commerce? Definition, feed, and benefits for a store - Qstomy, Why does an e-commerce business fail in the first 12 months? - Qstomy, Integrating CS responses into a useful e-commerce SEO strategy for customers - Qstomy, Does Texas charge a sales tax on online purchases? - Qstomy, E-commerce integrations: connect your tools to gain efficiency - Qstomy.

Finally, schedule a quarterly content review to ensure that all new entities introduced by browsers remain compatible with your store.

Finally, schedule a quarterly re-evaluation of the entity set used, as new W3C recommendations may introduce more efficient notations.

Enzo

October 30, 2026

What is the difference between a WYSIWYG editor and manual coding for special characters?

Visual editors like Dreamweaver or the Shopify description tool automatically convert keystrokes into entities: you type <,> or & and the software inserts &lt;, &gt; or &amp;. This speeds up creation and minimizes errors. However, developers who code manually gain more control: they choose exactly which entities to use and avoid superfluous tags. Qstomy combines both approaches: its WYSIWYG interface offers a « Special Characters » menu that inserts the correct entity, while keeping the source code accessible for advanced users.

For users who wish to customize further, Qstomy allows creating reusable snippets containing the most frequent entities, reducing the writing time for each product page.

Developers can also disable the WYSIWYG auto-encoding mode when they prefer to compose their entities manually for granular control.

How to test HTML entity compatibility across different browsers?

Most modern browsers support standard entities, but it is prudent to verify:

  • Preview your page in Chrome, Firefox, Safari, and Edge.

  • Use the W3C validation tool (validator.w3.org) to detect syntax errors.

  • Test mobile versions via the Chrome DevTools emulator.

If you encounter an issue, ensure the file is properly encoded in UTF‑8 and that entities are correctly closed with a semicolon. Qstomy offers instant mobile previews in its dashboard, avoiding back-and-forth.

An additional test involves copying and pasting the code into a plain text editor (Notepad++) to verify that no entity remains incomplete, a practice recommended when multiple collaborators edit the same content.

After testing, remember to clear Shopify's CDN cache to ensure the updated version with new entities is immediately visible to visitors.

What impact do special characters have on my store's SEO?

Search engines read the source code. An unencoded character can be interpreted as a broken tag, which harms indexing. However, properly used entities are neutralized and do not affect crawling. Additionally, symbols like the copyright or euro sign enhance content relevance for local queries. Consult our article E-commerce SEO strategy for category pages to further optimize your titles and meta-descriptions containing these symbols.

Google also recommends using entities for rarely used characters in URLs to avoid missing-page errors. Qstomy automatically generates encoded versions of URLs containing special characters, protecting your SEO positioning.

Additionally, search engines value properly placed entities in title and h1 tags, which improves the relevance of snippets displayed in results.

How does Qstomy simplify inserting special characters into your product descriptions?

["Qstomy's AI assistant analyzes the text you are writing and automatically suggests appropriate entities as soon as it detects a reserved character. You can click the "Insert symbol" button to choose from a list of over 150 characters (©, ®, €, £, « &","] <,>["", etc.). The system integrates directly into the Shopify editor, as well as into transactional emails generated by Qstomy. Thus, you save time, avoid syntax errors, and improve the readability of your product pages."]

Additionally, Qstomy maintains a history of inserted entities, allowing you to quickly reuse the same symbols on other pages or export them to external marketing documents.

The assistant also keeps a log of accepted suggestions, enabling compliance audits and optimizing the writing process over time.

How does Qstomy help manage special characters in confirmation and tracking emails?

Post-purchase notifications often contain currency symbols or legal mentions. Qstomy inserts the necessary entities during email template generation: 'Your order has been shipped' with the € symbol becomes &euro; in the plain text. Additionally, AI verifies that every special character is correctly encoded for customers reading messages on mobile or via various email clients. This control layer reduces support tickets related to corrupted display and strengthens customer trust.

The tool also offers a 'multi-platform preview' mode that shows how the same email appears in Gmail, Outlook, and instant messaging apps, ensuring visual consistency.

Furthermore, the tool checks the encoding of attached PDF files or SVG images inserted into emails to avoid corrupted characters.

What checklist should you follow before publishing content containing special characters?

In short

  • Verify that your file is in UTF‑8.

  • Replace each reserved character (&, <,>by its corresponding entity.

  • Use entities for symbols ©, ®, €, £, etc.

  • Preview on major browsers and mobile devices.

  • Test automated emails via the Qstomy preview feature.

FAQ

  • Do I always need to code accents? No, if your site uses UTF‑8. Otherwise, prefer entities like &eacute;, &egrave;…

  • What is the risk of forgetting the semicolon? The browser does not recognize the entity and will display the raw text, creating a visual bug.

  • Can Qstomy automatically correct a published page? Yes, the tool offers a 'compliance scan' that replaces non-encoded characters.

By following these steps, you ensure a clean presentation, optimal SEO, and a consistent customer experience.

To go further: How to create a payment gateway for an e-commerce site? - Qstomy, What is Google Shopping for e-commerce? Definition, feed, and benefits for a store - Qstomy, Why does an e-commerce business fail in the first 12 months? - Qstomy, Integrating CS responses into a useful e-commerce SEO strategy for customers - Qstomy, Does Texas charge a sales tax on online purchases? - Qstomy, E-commerce integrations: connect your tools to gain efficiency - Qstomy.

Finally, schedule a quarterly content review to ensure that all new entities introduced by browsers remain compatible with your store.

Finally, schedule a quarterly re-evaluation of the entity set used, as new W3C recommendations may introduce more efficient notations.

Enzo

October 30, 2026

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.