HTML Entity for Lowercase G Cedilla (ģ)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+0123

What You'll Learn

How to display the lowercase g with cedilla (ģ) in HTML using hexadecimal, decimal, and CSS escape methods. This precomposed character is used in Latvian orthography and in some linguistic or transliteration systems. It is U+0123 in the Latin Extended-A block.

Render it with ģ, ģ, or CSS escape \0123. There is no named HTML entity for this character, so numeric codes or CSS must be used.

⚡ Quick Reference — Lowercase G Cedilla Entity

Unicode U+0123

Latin Extended-A

Hex Code ģ

Hexadecimal reference

HTML Code ģ

Decimal reference

Named Entity

No named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+0123
Hex code       ģ
HTML code      ģ
Named entity   (none)
CSS code       \0123
Meaning        Latin small letter g with cedilla
Related        U+0122 = G cedilla (uppercase)
Block          Latin Extended-A (U+0100–U+017F)
1

Complete HTML Example

A simple example showing the lowercase g cedilla (ģ) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\0123";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x0123;</p>
<p>Symbol (decimal): &#291;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The lowercase g cedilla (ģ) and its numeric entity references are supported in modern browsers:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the lowercase g cedilla (ģ) in Latvian and linguistic contexts:

Large glyphģ
DiacriticCedilla (comma below)
Used inLatvian orthography and transliteration
Not the same asǧ (g caron) or ğ (g breve)
Numeric refs&#x0123; &#291; \0123

🧠 How It Works

1

Hexadecimal Code

&#x0123; uses the Unicode hexadecimal value 0123 to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#291; uses the decimal Unicode value 291 to display the same character. A common method for Latin Extended-A characters.

HTML markup
3

CSS Entity

\0123 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: ģ. Unicode U+0123 sits in Latin Extended-A. Do not confuse ģ (g cedilla) with ǧ (g caron), ğ (g breve), or plain g (U+0067). There is no named HTML entity.

Use Cases

The lowercase g cedilla (ģ) is commonly used in:

🇯🇻 Latvian

Official Latvian orthography and Latvian language websites.

🔤 Transliteration

Transliteration systems and linguistic notation requiring g cedilla.

🔬 Linguistics

Phonetic notation, linguistic papers, and academic writing.

📚 Language learning

Latvian dictionaries and courses showing correct spelling.

📄 Academic publishing

Linguistics and Latvian language studies with correct rendering.

♿ Accessibility

Proper encoding helps screen readers handle ģ in Latvian text.

🌐 International sites

Localized websites targeting Latvian audiences with proper encoding.

💡 Best Practices

Do

  • Use &#291; or &#x0123; in HTML (no named entity exists)
  • Serve pages as UTF-8; you can also type ģ directly in UTF-8 source
  • Pick one style (hex or decimal) per project for consistency
  • Use fonts that support Latin Extended-A (U+0100–U+017F)
  • Distinguish ģ (g cedilla) from ǧ (g caron) and ğ (g breve)

Don’t

  • Assume a named entity exists—there is none for ģ
  • Substitute plain g or other g variants when ģ is required
  • Put CSS escape \0123 in HTML text nodes
  • Assume all fonts render Latin Extended-A glyphs identically
  • Confuse ģ with ǧ (caron) or ğ (breve)

Key Takeaways

1

Three references render ģ (no named entity)

&#x0123; &#291;
2

For CSS stylesheets, use the escape in the content property

\0123
3

Unicode U+0123 — LATIN SMALL LETTER G WITH CEDILLA

4

Used in Latvian orthography and linguistic transcription (Latin Extended-A)

❓ Frequently Asked Questions

Use &#x0123; (hex), &#291; (decimal), or \0123 in CSS content. There is no named HTML entity; use numeric codes or CSS.
U+0123 (LATIN SMALL LETTER G WITH CEDILLA). Latin Extended-A block. Hex 0123, decimal 291. Used in Latvian and in some linguistic or transliteration contexts.
In Latvian language content, linguistic and phonetic transcription, language learning and dictionary sites, and any content that requires this character for correct Latvian orthography or transliteration.
Named HTML entities are typically reserved for ASCII, Latin-1, and common characters. ģ is in the Latin Extended-A block and has no predefined named entity. Use &#x0123;, &#291;, or \0123 instead.
ģ (U+0123) has a cedilla and is used in Latvian. ǧ (U+01E7) has a caron and is used in Skolt Sami, Romani, etc. ğ (U+011F, &gbreve;) has a breve and is the Turkish soft g. They are different characters with different diacritics and language use.

Explore More HTML Entities!

Discover 1500+ HTML character references — letters, symbols, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful