Unicode was created with the idea of making all characters used in the world available in a common character set, and is used in Unix, Windows, macOS, Plan 9, Java, etc. It includes not only modern characters but also ancient characters, historical characters, mathematical symbols, and emojis.
Interoperability with character codes before Unicode is also taken into consideration to a certain extent, and when historical or practical identification is required, a compatibility area is reserved, and some characters are designed to return to their original form when converted from the original code to Unicode and back to the original code (round-trip conversion). However, while there are few problems within the range of the official JIS X 0208, garbled characters can occur when multiple character sets are mixed, or when there are differences in correspondence, such as CP932, which is the actual state of Shift_JIS, and CP51932 and eucJP-MS, which are variants of EUC-JP.