| HTML Entity (dec) | 钡 | 
| HTML Entity (hex) | 钡 | 
| UTF-8 (hex) | 0xe992a1 / 0xe9 0x92 0xa1 (3 bytes) | 
| UTF-8 (dec) | 233, 146, 161 (3 bytes) | 
| UTF-16-BE (hex) | 0x94a1 / 0x94 0xa1 (2 bytes) | 
| UTF-16-BE (dec) | 148, 161 (2 bytes) | 
| UTF-32-BE (hex) | 0x94a1 / 0x00 0x00 0x94 0xa1 (4 bytes) | 
| UTF-32-BE (dec) | 0, 0, 148, 161 (4 bytes) | 
| C/C++/Java source code | "\u94a1" | 
| Python source code | "\u94a1" |