# Spanish Characters

**URL:** https://forum.infinityfree.com/t/spanish-characters/105105
**Category:** Hosting Support
**Created:** [January 28, 2025, 3:43pm UTC](https://forum.infinityfree.com/t/spanish-characters/105105 "2025-01-28T15:43:24Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Savvas](https://forum.infinityfree.com/letter_avatar/savvas/32/5_5575768a8748004e209b776fc1b2916d.png) [@Savvas](https://forum.infinityfree.com/u/Savvas)
#### Post date: [January 29, 2025, 11:17am UTC](https://forum.infinityfree.com/t/spanish-characters/105105/3 "2025-01-29T11:17:47Z")

</div>

use charste utd-8 for ur dbconnection file like this :

> [@Special Characters are not showing correctly](https://forum.infinityfree.com/t/special-characters-are-not-showing-correctly/105086/5):
>
> I had a similar problem and i needed to add “charset=utf8mb4” into my connection string when connecting to the database and that fixed it. My php looked like this new PDO("mysql:host=$servername;dbname=$dbname;charset=utf8mb4", $username, $password); Might be worth a try.

---

_[View the full topic](https://forum.infinityfree.com/t/spanish-characters/105105)._
