| HTML Entity (dec) | ग | |
| HTML Entity (hex) | ग | |
| UTF-8 (hex) | 0xe0a497 / 0xe0 0xa4 0x97 (3 bytes) | |
| UTF-8 (dec) | 224, 164, 151 (3 bytes) | |
| UTF-16-BE (hex) | 0x917 / 0x09 0x17 (2 bytes) | |
| UTF-16-BE (dec) | 9, 23 (2 bytes) | |
| UTF-32-BE (hex) | 0x917 / 0x00 0x00 0x09 0x17 (4 bytes) | |
| UTF-32-BE (dec) | 0, 0, 9, 23 (4 bytes) | |
| C/C++/Java source code | "\u0917" | |
| Python source code | u"\u0917" |