HTML Entity for Lowercase G Cedilla (ģ)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+0123

What Is the Lowercase G Cedilla Entity?

Lowercase g with cedilla (ģ) is the Latin Extended-A character at Unicode U+0123 (LATIN SMALL LETTER G WITH CEDILLA). It is used in Latvian orthography. You can paste ģ in a UTF-8 file, or use a numeric character reference when encoding must be explicit.

Remember
Character     ģ
Unicode       U+0123
Hex entity    ģ
Decimal       ģ
CSS escape    \0123
Named entity  (none)

All of these produce the same glyph: ģ. Prefer typing or pasting ģ in UTF-8 pages; use entities for CSS content, generated markup, or when encoding must be explicit.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterģHTML text (UTF-8 default)
Hex entityģHTML markup
Decimal entityģHTML markup
CSS escape\0123Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Latvian or other UTF-8 textType or paste ģ
Need an entity in HTML sourceģ or ģ
Generated text via ::before / ::aftercontent: "\0123"
Looking for a named entityDoes not exist — use numeric form
Plain g or g with caron (ǧ)Different characters — see Related Topics

Live Preview

Lowercase g with cedilla rendered in common contexts.

Inline text Latvian letter ģ in orthography.
Large glyph ģ
Case pair Ģ ģ
With entities Hex: ģ | Decimal: ģ
Not the same g (U+0067) · ǧ (g caron, U+01E7)

Complete HTML Example

One page that shows lowercase g with cedilla with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce ģ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Lowercase G Cedilla (ģ) in HTML</title>
  <style>
    #point::after {
      content: "\0123";
    }
  </style>
</head>
<body>
  <p>G Cedilla using Hex Code: &#x0123;</p>
  <p>G Cedilla using HTML Code: &#291;</p>
  <p id="point">G Cedilla using CSS Entity: </p>
  <p>Typed / pasted: ģ</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+0123 → &#x0123; in HTML. The browser turns it into ģ.

2. Decimal: same code point as 291 → &#291;. Same result as hex.

3. CSS: use \0123 in content (not an HTML entity). #point::after appends that ģ after the paragraph text.

4. Typed ģ: fine in UTF-8 documents. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with the g cedilla entity.

Named?

No named entity

HTML5 does not define &gcedil; for this letter. Use numeric forms.

CSS vs HTML

Do not mix escapes

\0123 belongs in CSS. &#x0123; / &#291; belong in HTML.

Look-alikes

Not g or ǧ

Plain g is U+0067; g with caron ǧ is U+01E7. Cedilla is a different mark.

Fonts

Check glyph coverage

Some fonts omit Latin Extended-A. Prefer fonts that include U+0123.

Semicolon

End references

Always finish with ; — write &#291;, not &#291.

UTF-8

Declare charset

If you paste ģ directly, serve the page as UTF-8 with <meta charset="UTF-8">.

Browser Support

Lowercase g with cedilla (U+0123) and its numeric entity forms (&#x0123;, &#291;, CSS \\0123) are supported in all mainstream browsers. Glyph availability depends on the font.

✓ Universal support

Lowercase G Cedilla (&#x0123;)

Paste ģ, or encode with hex, decimal, or CSS escape — same code point everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+0123 / entities Full support

Bottom line: Use a pasted ģ in UTF-8 text when you can. Prefer &#x0123; or &#291; in HTML when encoding must be explicit, and \\0123 only inside CSS content.

Key Takeaways

  • Unicode: g with cedilla is U+0123 (decimal 291), Latin Extended-A.
  • HTML: use &#x0123; or &#291; when you need an entity.
  • CSS: use \0123 inside content for generated text.
  • Use: Latvian orthography — not the same as plain g or ǧ.

One line: U+0123 → paste ģ, or encode as &#x0123; / &#291; / CSS \0123.

Frequently Asked Questions

Use &#x0123; (hex), &#291; (decimal), or the CSS escape \0123 in the content property. All render ģ. There is no named HTML entity for this character.
U+0123 (LATIN SMALL LETTER G WITH CEDILLA). Hex 0123, decimal 291. It belongs to the Latin Extended-A block and is used in Latvian orthography.
No. HTML5 does not define a named entity for this character. Use numeric references &#291; or &#x0123; when you need an entity form.
Use it for Latvian text, linguistic examples, CSS-generated content, or when encoding must be explicit. Prefer typing or pasting ģ in UTF-8 files when you can.
HTML entities (&#291; or &#x0123;) go in markup. The CSS escape \0123 is used in stylesheets (usually in the content property of ::before/::after). Both render ģ.
Plain g is U+0067. G with caron ǧ is U+01E7. G with cedilla ģ is U+0123 — a different diacritic used mainly in Latvian. Do not substitute one for another.

Did you know?

Lowercase g with cedilla (ģ) is Unicode U+0123 (decimal 291) in Latin Extended-A. HTML5 has no named entity for it — use &#x0123; or &#291;. It is used in Latvian orthography.

Next: Lowercase G Circumflex

Learn the HTML entity for g with circumflex — the next accented g in this entity sequence.

Lowercase G Circumflex tutorial →

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