| HTML Entity (dec) | २ | 
| HTML Entity (hex) | २ | 
| UTF-8 (hex) | 0xe0a5a8 / 0xe0 0xa5 0xa8 (3 bytes) | 
| UTF-8 (dec) | 224, 165, 168 (3 bytes) | 
| UTF-16-BE (hex) | 0x968 / 0x09 0x68 (2 bytes) | 
| UTF-16-BE (dec) | 9, 104 (2 bytes) | 
| UTF-32-BE (hex) | 0x968 / 0x00 0x00 0x09 0x68 (4 bytes) | 
| UTF-32-BE (dec) | 0, 0, 9, 104 (4 bytes) | 
| C/C++/Java source code | "\u0968" | 
| Python source code | "\u0968" |