| HTML Entity (dec) | 4 |
| HTML Entity (hex) | 4 |
| UTF-8 (hex) | 0x34 |
| UTF-8 (dec) | 52 |
| UTF-16-BE (hex) | 0x34 |
| UTF-16-BE (dec) | 0, 52 (2 bytes) |
| UTF-32-BE (hex) | 0x34 |
| UTF-32-BE (dec) | 0, 0, 0, 52 (4 bytes) |
| C/C++/Java source code | "\u0034" |
| Python source code | "\u0034" |