# How to output latvian symbols?

**URL:** https://forum.infinityfree.com/t/how-to-output-latvian-symbols/71406
**Category:** Hosting Support
**Created:** [January 20, 2023, 4:14pm UTC](https://forum.infinityfree.com/t/how-to-output-latvian-symbols/71406 "2023-01-20T16:14:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![wackyblackie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wackyblackie/32/43350_2.png) [@wackyblackie](https://forum.infinityfree.com/u/wackyblackie)
#### Post date: [January 20, 2023, 4:22pm UTC](https://forum.infinityfree.com/t/how-to-output-latvian-symbols/71406/2 "2023-01-20T16:22:36Z")

</div>

Maybe these?

> [@UTF-8 encoding problem](https://forum.infinityfree.com/t/utf-8-encoding-problem/58616/6):
>
> This is a known problem with our hosting. The key issue is that phpMyAdmin uses UTF-8 character encoding, but our PHP setup is not configured to use it by default. We could fix it, but doing so would break many sites in the process, which is why we can’t. Just not using any non-ASCII characters is one way to go around it. But you could also set the connection charset in your own code to use utf8. With PDO, you can specify the charset to use in the database connection string: [PHP: PDO\_MYSQL DS…](https://www.php.net/manual/en/ref.pdo-mysql.connection.php)

> [@Submit a content containing UTF-8 characters](https://forum.infinityfree.com/t/submit-a-content-containing-utf-8-characters/66544/6):
>
> So you’re inserting the data through phpMyAdmin. Are you viewing the data with phpMyAdmin as well? Or are you querying it through your website? Note that phpMyAdmin uses the utf8 charset for the connection (or utf8mb4, not sure), but our PHP stack is configured to use latin1 by default. You can set the charset to use through your PHP connection code. Most frameworks and CMS should do this by default. It’s strongly recommended you set this to utf8 or utf8mb4 instead. And if you’re wondering wha…

* * *

Also do this:

> [@How can I change the languge?](https://forum.infinityfree.com/t/how-can-i-change-the-languge/70910/2):
>
> Try putting this after the opening \<head\> element: \<meta charset="utf-8"\> \<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"\>

---

_[View the full topic](https://forum.infinityfree.com/t/how-to-output-latvian-symbols/71406)._
