| HTML Entity (dec) | 亦 | 
| HTML Entity (hex) | 亦 | 
| UTF-8 (hex) | 0xe4baa6 / 0xe4 0xba 0xa6 (3 bytes) | 
| UTF-8 (dec) | 228, 186, 166 (3 bytes) | 
| UTF-16-BE (hex) | 0x4ea6 / 0x4e 0xa6 (2 bytes) | 
| UTF-16-BE (dec) | 78, 166 (2 bytes) | 
| UTF-32-BE (hex) | 0x4ea6 / 0x00 0x00 0x4e 0xa6 (4 bytes) | 
| UTF-32-BE (dec) | 0, 0, 78, 166 (4 bytes) | 
| C/C++/Java source code | "\u4ea6" | 
| Python source code | "\u4ea6" |