# Playing with Unicode

DevFeed: [Playing with Unicode](<https://devfeed.tech/articles/playing-with-unicode-34562.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2017/07/playing-with-unicode/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2017-07-03T12:32:29Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [csv](<https://devfeed.tech/tags/csv.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [python](<https://devfeed.tech/tags/python.md>), [schema](<https://devfeed.tech/tags/schema.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

A tutorial on using Unicode Regional Indicator Symbols in PostgreSQL to display country flags, including importing Formula One data, mapping driver nationalities to country codes, and creating a PostgreSQL function for flag generation.

## Source excerpt

The reason why I like Unicode a lot is because it allows me to code in text based environments and still have nice output. Today, we're going to play with Regional Indicator Symbol, which is implemented as a Unicode combinaison of letters from 🇦 to 🇿. For instance, if you display 🇫 then 🇷 concatenated together, you get 🇫🇷. Let's try that from our PostgreSQL prompt!