HTML Entity for Khmer Currency Symbol Riel (៛)

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

What Is the Khmer Currency Symbol Riel Entity?

Khmer Currency Symbol Riel (៛) is the Khmer-block character at Unicode U+17DB (KHMER CURRENCY SYMBOL RIEL). It is the currency sign for the Cambodian Riel (KHR).

Remember
Character     ៛
Unicode       U+17DB
Hex entity    ៛
Decimal       ៛
CSS escape    \17DB
Named entity  (none)

All of these produce the same glyph: ៛ (when the font supports U+17DB). Prefer numeric entities in HTML; use CSS \17DB only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity៛HTML markup
Decimal entity៛HTML markup
CSS escape\17DBStylesheet content
Direct character៛UTF-8 HTML text
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Need an entity in HTML source៛ or ៛
Generated text via ::before / ::aftercontent: "\17DB"
UTF-8 page, typing is easyType ៛ directly
Looking for a named &...; formDoes not exist — use numeric form
ISO code without the glyphWrite KHR as fallback text

Live Preview

Khmer Riel symbol in pricing contexts (font-dependent).

Price 4,050 ៛
Large glyph ៛
Labeled Cambodian Riel (៛)
ISO + symbol KHR ៛
With entities Hex: ៛ | Decimal: ៛

Complete HTML Example

One page that shows Khmer Riel with hex, decimal, CSS, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ៛ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Khmer Currency Symbol Riel (៛) in HTML</title>
  <style>
    #point::after {
      content: "\17DB";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x17DB;</p>
  <p>Using HTML Code: &#6107;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ៛</p>
  <p>Price: 4,050 &#x17DB;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+17DB → &#x17DB; in HTML. The browser turns it into ៛.

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

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

4. Typed: in UTF-8 you can type ៛ directly — same visual result when the font supports it.

Pitfalls & Tips

Common mistakes when working with the Khmer Riel symbol.

Named?

No named entity

HTML5 does not define a named entity for U+17DB. Use numeric forms.

Fonts

Need Khmer coverage

Use fonts with the Khmer block (e.g. Noto Sans Khmer, Khmer OS) so ៛ is not a missing glyph.

CSS vs HTML

Do not mix escapes

\17DB belongs in CSS. &#x17DB; / &#6107; belong in HTML.

A11y

Label the currency

Add “Riel” or “KHR” nearby so the amount is clear if the glyph fails to render.

Semicolon

End references

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

Default

Type ៛ when you can

On UTF-8 pages you may type ៛ directly; entities help when encoding must be explicit.

Browser Support

Khmer Currency Symbol Riel (U+17DB) and its numeric entity forms (&#x17DB;, &#6107;, CSS \\17DB) are supported in all mainstream browsers when the font includes the Khmer block.

✓ Universal support

Khmer Currency Symbol Riel (៛)

Encode with hex, decimal, or CSS escape — same character when the font supports U+17DB.

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+17DB / entities Full support

Bottom line: Prefer &#x17DB; or &#6107; in HTML. Use \\17DB only inside CSS content. Rendering quality depends on Khmer font support.

Key Takeaways

  • Unicode: Khmer Riel symbol is U+17DB (decimal 6107).
  • HTML: use &#x17DB; or &#6107; — no named entity.
  • CSS: use \17DB inside content for generated text.
  • Fonts: pick a Khmer-capable font so ៛ renders correctly.

One line: U+17DB → &#x17DB; / &#6107; / CSS \17DB.

Frequently Asked Questions

Use &#x17DB; (hex), &#6107; (decimal), or the CSS escape \17DB in the content property. All render ៛ when the font supports the Khmer block. There is no named HTML entity.
U+17DB (KHMER CURRENCY SYMBOL RIEL). Hex 17DB, decimal 6107. It belongs to the Khmer block and is the currency sign for the Cambodian Riel.
No. HTML5 does not define a named entity for U+17DB. Use numeric references like &#x17DB; or &#6107; when you need an entity form.
Use it for Cambodian Riel (KHR) prices on e-commerce, banking, and Cambodia-facing pages. Prefer numeric entities when encoding must be explicit; type ៛ directly in UTF-8 pages when convenient.
HTML entities (&#6107; or &#x17DB;) go in markup. The CSS escape \17DB is used in stylesheets (usually in the content property of ::before/::after). Both render ៛.
Many default fonts lack Khmer coverage. Use a font that includes the Khmer block (U+1780–U+17FF), such as Noto Sans Khmer or Khmer OS.

Did you know?

Khmer Currency Symbol Riel is Unicode U+17DB (decimal 6107) — KHMER CURRENCY SYMBOL RIEL. HTML5 has no named entity — use &#x17DB; or &#6107;. It is the currency sign for the Cambodian Riel (KHR).

Next: Kip Sign

Learn the HTML entity for the Lao kip currency symbol — next in this sequence.

Kip Sign 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